Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.001876/0.001876, allocations: 95.86 kB / 20.96 MB, free: 3.457 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.001903/0.001903, allocations: 149.1 kB / 24.26 MB, free: 164 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.502/1.502, allocations: 173.3 MB / 200.8 MB, free: 9.324 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.113e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01794/0.01797, allocations: 12.66 MB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009186/0.02715, allocations: 4.132 MB / 284.1 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.02926, allocations: 103.4 kB / 284.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.03238, allocations: 0.9585 MB / 285.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.03684, allocations: 1.288 MB / 286.5 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.03857, allocations: 0.5187 MB / 287 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.136/0.1746, allocations: 4.798 MB / 291.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.1774, allocations: 2.02 MB / 293.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/0.1838, allocations: 3.208 MB / 297 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.1887, allocations: 2.486 MB / 299.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.1903, allocations: 0.5512 MB / 300 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.1927, allocations: 0.6457 MB / 300.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.1943, allocations: 1.597 MB / 302.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.1979, allocations: 1.746 MB / 304 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.2046, allocations: 7.585 MB / 311.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2046, allocations: 0 / 311.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2046, allocations: 6.844 kB / 311.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002218/0.2048, allocations: 0 / 311.6 MB, free: 9.754 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.01128/0.2161, allocations: 5.331 MB / 317 MB, free: 5.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2162, allocations: 8.922 kB / 317 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.218, allocations: 0.8056 MB / 317.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.2224, allocations: 2.42 MB / 320.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.2225, allocations: 266.6 kB / 320.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004424/0.223, allocations: 356.6 kB / 320.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0097/0.2327, allocations: 5.036 MB / 325.8 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.2328, allocations: 15.17 kB / 325.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.2332, allocations: 147.6 kB / 326 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003122/0.2335, allocations: 183 kB / 326.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007791/0.2413, allocations: 3.473 MB / 329.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.2769, allocations: 18.05 MB / 347.7 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/0.2811, allocations: 2.242 MB / 349.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.2846, allocations: 1.518 MB / 351.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.285, allocations: 69.95 kB / 351.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.285, allocations: 59.39 kB / 351.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.719e-06/0.285, allocations: 4 kB / 351.6 MB, free: 2.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.01942/0.3044, allocations: 7.119 MB / 358.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.3045, allocations: 81.34 kB / 358.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/0.3096, allocations: 2.567 MB / 361.4 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.31, allocations: 61.7 kB / 361.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.3119, allocations: 1.867 MB / 363.3 MB, free: 6.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.3132, allocations: 0.8443 MB / 364.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009843/0.3141, allocations: 0.5064 MB / 364.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002774/0.3144, allocations: 476.8 kB / 365.1 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.3164, allocations: 0.8711 MB / 366 MB, free: 4.215 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.3196, allocations: 1.62 MB / 367.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006588/0.3262, allocations: 2.747 MB / 370.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/0.3262, allocations: 8 kB / 370.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009816/0.336, allocations: 3.183 MB / 373.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.3361, allocations: 12 kB / 373.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.3361, allocations: 16 kB / 373.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004099/0.3402, allocations: 0.733 MB / 374.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/0.3437, allocations: 0.5213 MB / 374.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/0.3598, allocations: 9.096 MB / 383.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.363, allocations: 111.9 kB / 384 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004036/0.3634, allocations: 88 kB / 384.1 MB, free: 1.402 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.002947/0.3663, allocations: 1.011 MB / 385.1 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/0.3676, allocations: 342.3 kB / 385.4 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008816/0.3764, allocations: 2.728 MB / 388.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/0.3764, allocations: 23.94 kB / 388.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.3764, allocations: 12 kB / 388.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.3765, allocations: 7.969 kB / 388.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02001/0.3965, allocations: 6.976 MB / 395.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3965, allocations: 4 kB / 395.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.3982, allocations: 381 kB / 395.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/0.4016, allocations: 0.7706 MB / 396.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.4018, allocations: 55.97 kB / 396.4 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.4154, allocations: 10.72 MB / 407.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.4154, allocations: 7.469 kB / 407.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008479/0.4239, allocations: 3.978 MB / 411.1 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/0.4257, allocations: 0.4982 MB / 411.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004035/0.4261, allocations: 51.98 kB / 411.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.4274, allocations: 107.9 kB / 411.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005044/0.4279, allocations: 196.9 kB / 411.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.4281, allocations: 63.98 kB / 412 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002797/0.4309, allocations: 1.508 MB / 413.5 MB, free: 3.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4309, allocations: 0 / 413.5 MB, free: 3.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003779/0.4347, allocations: 0.7968 MB / 414.3 MB, free: 2.668 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.0008826/0.4356, allocations: 246.4 kB / 414.6 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006654/0.4422, allocations: 3.17 MB / 417.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.4422, allocations: 0 / 417.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004513/0.4467, allocations: 2.222 MB / 419.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/0.4505, allocations: 0.6543 MB / 420.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.4653, allocations: 7.002 MB / 427.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/0.4681, allocations: 2.062 MB / 429.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001946/0.47, allocations: 0.5006 MB / 430.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.4707, allocations: 172.5 kB / 430.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4707, allocations: 0 / 430.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of Templates: time 0.1874/0.6581, allocations: 40.33 MB / 470.7 MB, free: 97.49 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.75582110194955]