Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 165.5 kB / 24.82 MB, free: 9.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.055/1.055, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.759e-05, allocations: 5.266 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01138/0.01141, allocations: 12.49 MB / 285.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.01928, allocations: 4.198 MB / 290.1 MB, free: 436 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.02132, allocations: 107.3 kB / 290.2 MB, free: 328 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1267/0.1481, allocations: 0.9611 MB / 291.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.1523, allocations: 1.315 MB / 292.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1536, allocations: 0.5347 MB / 293 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.1587, allocations: 4.855 MB / 297.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.1613, allocations: 2.02 MB / 299.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005277/0.1666, allocations: 3.412 MB / 303.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/0.17, allocations: 2.464 MB / 305.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.1712, allocations: 0.5425 MB / 306.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.1727, allocations: 0.6441 MB / 306.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008704/0.1736, allocations: 1.572 MB / 308.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.176, allocations: 1.733 MB / 310.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.1804, allocations: 4.051 MB / 314.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1804, allocations: 0 / 314.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1804, allocations: 0 / 314.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.1805, allocations: 4.5 kB / 314.3 MB, free: 5.832 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.005979/0.1865, allocations: 4.814 MB / 319.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1866, allocations: 11.98 kB / 319.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1879, allocations: 0.8449 MB / 319.9 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009327/0.1973, allocations: 2.235 MB / 322.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.1975, allocations: 265.7 kB / 322.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.198, allocations: 361.9 kB / 322.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.2082, allocations: 2.816 MB / 325.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.521e-05/0.2083, allocations: 5.906 kB / 325.6 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.2085, allocations: 147 kB / 325.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.2087, allocations: 195.1 kB / 326 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.2108, allocations: 1.038 MB / 327 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.2356, allocations: 11.65 MB / 338.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.2373, allocations: 1.406 MB / 340 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.2386, allocations: 0.8448 MB / 340.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.2388, allocations: 63.39 kB / 340.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2388, allocations: 62.77 kB / 341 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.228e-06/0.2388, allocations: 0 / 341 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.008311/0.2471, allocations: 4.082 MB / 345.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2472, allocations: 73.41 kB / 345.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.2489, allocations: 1.834 MB / 347 MB, free: 6.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.249, allocations: 61.7 kB / 347.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009452/0.25, allocations: 1.807 MB / 348.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/0.2505, allocations: 0.786 MB / 349.7 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/0.251, allocations: 450 kB / 350.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2511, allocations: 476.8 kB / 350.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/0.2518, allocations: 292 kB / 350.8 MB, free: 2.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.2525, allocations: 0.9626 MB / 351.8 MB, free: 1.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2538, allocations: 1.465 MB / 353.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.2538, allocations: 4 kB / 353.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002517/0.2563, allocations: 1.901 MB / 355.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2563, allocations: 12 kB / 355.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2564, allocations: 12 kB / 355.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.2577, allocations: 0.5957 MB / 355.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2587, allocations: 495.7 kB / 356.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.2639, allocations: 7.556 MB / 363.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.2652, allocations: 71.98 kB / 363.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.2653, allocations: 71.98 kB / 364 MB, free: 5.008 MB / 314.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.0008708/0.2661, allocations: 301.2 kB / 364.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.2666, allocations: 346.3 kB / 364.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.269, allocations: 1.666 MB / 366.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.2691, allocations: 20 kB / 366.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.2691, allocations: 8.047 kB / 366.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.2691, allocations: 15.89 kB / 366.3 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/0.2752, allocations: 4.098 MB / 370.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.2752, allocations: 4 kB / 370.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.2762, allocations: 357.5 kB / 370.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.2776, allocations: 0.6436 MB / 371.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2777, allocations: 59.25 kB / 371.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.2834, allocations: 9.233 MB / 380.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2834, allocations: 0 / 380.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.2863, allocations: 2.295 MB / 383 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/0.2871, allocations: 457.1 kB / 383.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.2873, allocations: 51.98 kB / 383.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.2878, allocations: 79.95 kB / 383.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.2881, allocations: 173.5 kB / 383.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.2882, allocations: 51.98 kB / 383.8 MB, free: 1.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008619/0.289, allocations: 0.9763 MB / 384.8 MB, free: 160 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.289, allocations: 0 / 384.8 MB, free: 160 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001825/0.2908, allocations: 0.789 MB / 385.6 MB, free: 15.36 MB / 346.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 {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004736/0.2913, allocations: 234.6 kB / 385.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.2939, allocations: 2.019 MB / 387.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2939, allocations: 0 / 387.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.2953, allocations: 1.637 MB / 389.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.2969, allocations: 0.6661 MB / 390.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007527/0.3044, allocations: 6.425 MB / 396.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/0.3052, allocations: 1.034 MB / 397.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000851/0.3061, allocations: 317.1 kB / 397.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.3072, allocations: 0.697 MB / 398.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.743e-06/0.3072, allocations: 0 / 398.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of Templates: time 0.1572/0.4645, allocations: 42.6 MB / 441.2 MB, free: 114.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.798392632976174]