Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 163.3 kB / 25.32 MB, free: 9.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9681/0.9681, allocations: 158.6 MB / 187.2 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0 / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.013e-05/5.357e-05, allocations: 2.312 kB / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.0168/0.01685, allocations: 12.78 MB / 263.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02696, allocations: 4.208 MB / 268.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.02912, allocations: 87.38 kB / 268.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.03147, allocations: 0.9663 MB / 269.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.0344, allocations: 1.284 MB / 270.4 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.0354, allocations: 0.5227 MB / 270.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.03945, allocations: 4.846 MB / 275.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.04166, allocations: 1.967 MB / 277.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/0.04606, allocations: 3.205 MB / 281 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.04928, allocations: 2.483 MB / 283.4 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.05041, allocations: 0.5547 MB / 284 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000911/0.05132, allocations: 0.6405 MB / 284.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.05247, allocations: 1.605 MB / 286.2 MB, free: 232 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.054, allocations: 1.742 MB / 288 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.0585, allocations: 4.062 MB / 292 MB, free: 10.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.05851, allocations: 0 / 292 MB, free: 10.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05851, allocations: 0 / 292 MB, free: 10.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.05855, allocations: 4 kB / 292 MB, free: 10.4 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007336/0.06588, allocations: 4.955 MB / 297 MB, free: 5.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.06594, allocations: 11.98 kB / 297 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.06744, allocations: 0.8142 MB / 297.8 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.07106, allocations: 2.168 MB / 300 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.07125, allocations: 263.4 kB / 300.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.0717, allocations: 364.3 kB / 300.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1317/0.2034, allocations: 3.039 MB / 303.6 MB, free: 49.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-05/0.2035, allocations: 7.688 kB / 303.7 MB, free: 49.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.2038, allocations: 145.6 kB / 303.8 MB, free: 49.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/0.204, allocations: 181.6 kB / 304 MB, free: 49.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.2077, allocations: 1.327 MB / 305.3 MB, free: 49.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.2219, allocations: 11.88 MB / 317.2 MB, free: 44.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.2236, allocations: 1.515 MB / 318.7 MB, free: 43.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.2249, allocations: 0.9561 MB / 319.7 MB, free: 43.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.2251, allocations: 67.06 kB / 319.7 MB, free: 43.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2251, allocations: 61.11 kB / 319.8 MB, free: 43.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.727e-06/0.2251, allocations: 0 / 319.8 MB, free: 43.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.007357/0.2325, allocations: 5.135 MB / 324.9 MB, free: 40.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.2325, allocations: 77.25 kB / 325 MB, free: 40.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.234, allocations: 1.878 MB / 326.9 MB, free: 38.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.2341, allocations: 61.7 kB / 326.9 MB, free: 38.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/0.2347, allocations: 1.77 MB / 328.7 MB, free: 36.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.235, allocations: 0.7833 MB / 329.5 MB, free: 36.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.2353, allocations: 438.5 kB / 329.9 MB, free: 35.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.2354, allocations: 484.8 kB / 330.4 MB, free: 35.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.236, allocations: 376.4 kB / 330.8 MB, free: 34.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.2367, allocations: 1.05 MB / 331.8 MB, free: 33.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2382, allocations: 1.62 MB / 333.4 MB, free: 31.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.2382, allocations: 7.938 kB / 333.4 MB, free: 31.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002414/0.2406, allocations: 2.1 MB / 335.5 MB, free: 29.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2406, allocations: 16.06 kB / 335.5 MB, free: 29.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.2406, allocations: 12 kB / 335.6 MB, free: 29.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.2419, allocations: 0.6108 MB / 336.2 MB, free: 28.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.2428, allocations: 0.5188 MB / 336.7 MB, free: 28.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.2467, allocations: 7.788 MB / 344.5 MB, free: 20.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.2474, allocations: 111.9 kB / 344.6 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.2475, allocations: 88 kB / 344.7 MB, free: 20.01 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004989/0.248, allocations: 303.9 kB / 345 MB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.2483, allocations: 338.4 kB / 345.3 MB, free: 19.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.2504, allocations: 1.845 MB / 347.1 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2504, allocations: 20 kB / 347.2 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.2504, allocations: 8 kB / 347.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2504, allocations: 11.95 kB / 347.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.2556, allocations: 5.018 MB / 352.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2556, allocations: 4 kB / 352.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.2563, allocations: 383.4 kB / 352.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.2578, allocations: 0.6722 MB / 353.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.794e-05/0.2579, allocations: 55.91 kB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/0.2631, allocations: 9.572 MB / 362.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2631, allocations: 7.938 kB / 362.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/0.267, allocations: 2.554 MB / 365.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008898/0.2679, allocations: 0.4981 MB / 365.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.2682, allocations: 51.98 kB / 366 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.269, allocations: 115.9 kB / 366.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/0.2693, allocations: 189.6 kB / 366.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.2695, allocations: 59.98 kB / 366.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001525/0.271, allocations: 1.078 MB / 367.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.271, allocations: 3.938 kB / 367.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002086/0.2731, allocations: 0.7929 MB / 368.2 MB, free: 11.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00048/0.2735, allocations: 244.1 kB / 368.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003228/0.2768, allocations: 2.218 MB / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2768, allocations: 4 kB / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.2789, allocations: 1.779 MB / 372.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.2809, allocations: 0.6489 MB / 373.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/0.29, allocations: 6.448 MB / 379.6 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009617/0.291, allocations: 1.034 MB / 380.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001167/0.2921, allocations: 0.4967 MB / 381.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.2926, allocations: 168.5 kB / 381.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/0.2926, allocations: 0 / 381.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.04818/0.3408, allocations: 40.33 MB / 421.6 MB, free: 6.129 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0148558197543025]