Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 92.62 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002545/0.002545, allocations: 153.4 kB / 24.25 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.491e-05, allocations: 6.312 kB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01602/0.01604, allocations: 11.32 MB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00911/0.02515, allocations: 3.992 MB / 282.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.02693, allocations: 95.38 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.02964, allocations: 0.9663 MB / 283.7 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.03381, allocations: 1.285 MB / 285 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.03532, allocations: 0.5265 MB / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1087/0.144, allocations: 4.787 MB / 290.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.1469, allocations: 2.011 MB / 292.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005393/0.1523, allocations: 3.172 MB / 295.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.1564, allocations: 2.288 MB / 297.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.1578, allocations: 0.5524 MB / 298.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.1596, allocations: 0.6458 MB / 299 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.1608, allocations: 1.584 MB / 300.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002641/0.1635, allocations: 1.723 MB / 302.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006073/0.1695, allocations: 7.543 MB / 309.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1695, allocations: 0 / 309.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1695, allocations: 0 / 309.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.1697, allocations: 0 / 309.9 MB, free: 10.75 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.00906/0.1788, allocations: 4.694 MB / 314.6 MB, free: 7.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1788, allocations: 9.891 kB / 314.6 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.1806, allocations: 0.8078 MB / 315.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/0.1858, allocations: 2.615 MB / 318 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.186, allocations: 271.4 kB / 318.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007461/0.1867, allocations: 359.5 kB / 318.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008715/0.1954, allocations: 5.275 MB / 323.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-05/0.1955, allocations: 11.89 kB / 323.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.1959, allocations: 149.8 kB / 324 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.1962, allocations: 185.1 kB / 324.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008336/0.2045, allocations: 4.292 MB / 328.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.2305, allocations: 13.05 MB / 341.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.2352, allocations: 2.703 MB / 344.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.2389, allocations: 1.884 MB / 346.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.2391, allocations: 65.97 kB / 346.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.2392, allocations: 57.31 kB / 346.3 MB, free: 8.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.847e-06/0.2392, allocations: 0 / 346.3 MB, free: 8.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.02416/0.2634, allocations: 9.664 MB / 355.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.2635, allocations: 77.34 kB / 356 MB, free: 14.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/0.2678, allocations: 2.186 MB / 358.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003508/0.2682, allocations: 61.7 kB / 358.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.2697, allocations: 1.665 MB / 359.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.2708, allocations: 0.7552 MB / 360.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008063/0.2716, allocations: 412.5 kB / 361.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2718, allocations: 309.1 kB / 361.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.2745, allocations: 1.297 MB / 362.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.2773, allocations: 1.774 MB / 364.4 MB, free: 6.039 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/0.2827, allocations: 3.22 MB / 367.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.2827, allocations: 4 kB / 367.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008459/0.2912, allocations: 4.144 MB / 371.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.2912, allocations: 16.41 kB / 371.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.2912, allocations: 16 kB / 371.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00345/0.2947, allocations: 0.9386 MB / 372.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.297, allocations: 0.5288 MB / 373.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.3099, allocations: 9.05 MB / 382.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.3121, allocations: 115.9 kB / 382.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.3124, allocations: 91.98 kB / 382.6 MB, free: 3.629 MB / 330.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.002386/0.3147, allocations: 1.221 MB / 383.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008179/0.3156, allocations: 330.4 kB / 384.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007333/0.3229, allocations: 3.677 MB / 387.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.3229, allocations: 24 kB / 387.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.3229, allocations: 7.938 kB / 387.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.3229, allocations: 15.95 kB / 387.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.3421, allocations: 7.098 MB / 394.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.3422, allocations: 8.031 kB / 394.9 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/0.3448, allocations: 381.3 kB / 395.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005034/0.3498, allocations: 0.9816 MB / 396.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002963/0.3501, allocations: 51.98 kB / 396.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.3704, allocations: 10.53 MB / 406.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/0.3704, allocations: 7.938 kB / 406.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.3849, allocations: 5.542 MB / 412.4 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/0.3869, allocations: 0.5412 MB / 413 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006315/0.3876, allocations: 55.98 kB / 413 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.3892, allocations: 111.9 kB / 413.1 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/0.3899, allocations: 189.1 kB / 413.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.3901, allocations: 67.98 kB / 413.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002919/0.3931, allocations: 1.477 MB / 414.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3931, allocations: 3.938 kB / 414.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003074/0.3961, allocations: 0.7969 MB / 415.7 MB, free: 2.133 MB / 362.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%), (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.0007292/0.3969, allocations: 240.6 kB / 415.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007468/0.4043, allocations: 3.633 MB / 419.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4043, allocations: 0 / 419.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004996/0.4093, allocations: 2.308 MB / 421.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.4129, allocations: 0.6551 MB / 422.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.4291, allocations: 7.715 MB / 430.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/0.4324, allocations: 2.226 MB / 432.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00245/0.4348, allocations: 0.6412 MB / 433.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/0.4355, allocations: 172.5 kB / 433.2 MB, free: 496 kB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4355, allocations: 0 / 433.2 MB, free: 496 kB / 378.7 MB Notification: Performance of Templates: time 0.1924/0.6279, allocations: 40.28 MB / 473.5 MB, free: 99.59 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.719413578975946]