Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001494/0.001494, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001607/0.001607, allocations: 157.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.711e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01694/0.01697, allocations: 11.33 MB / 283.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.02757, allocations: 4.062 MB / 287.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.03016, allocations: 99.38 kB / 287.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003462/0.03362, allocations: 0.974 MB / 288.8 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.119/0.1526, allocations: 1.288 MB / 290.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1543, allocations: 0.522 MB / 290.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005432/0.1598, allocations: 4.809 MB / 295.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.1623, allocations: 2.008 MB / 297.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.1677, allocations: 3.196 MB / 300.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.1709, allocations: 2.288 MB / 302.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.1717, allocations: 0.5519 MB / 303.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.1729, allocations: 0.6551 MB / 304.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009713/0.1739, allocations: 1.584 MB / 305.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.1756, allocations: 1.72 MB / 307.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.1807, allocations: 7.562 MB / 315 MB, free: 4.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1807, allocations: 4.5 kB / 315 MB, free: 4.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1807, allocations: 0.5312 kB / 315 MB, free: 4.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001335/0.1808, allocations: 4 kB / 315 MB, free: 4.711 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.007454/0.1883, allocations: 4.707 MB / 319.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1883, allocations: 8.594 kB / 319.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.1905, allocations: 0.8445 MB / 320.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.1956, allocations: 2.637 MB / 323.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.1959, allocations: 266.5 kB / 323.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006348/0.1966, allocations: 359.8 kB / 323.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.207, allocations: 5.289 MB / 329.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.082e-05/0.2071, allocations: 7.953 kB / 329.1 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.2075, allocations: 142.9 kB / 329.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002302/0.2077, allocations: 183 kB / 329.4 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009213/0.2169, allocations: 4.298 MB / 333.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02797/0.2449, allocations: 13.06 MB / 346.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.2497, allocations: 2.696 MB / 349.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00359/0.2533, allocations: 1.876 MB / 351.3 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.2535, allocations: 77.95 kB / 351.4 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.2536, allocations: 56.12 kB / 351.5 MB, free: 288 kB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.869e-06/0.2536, allocations: 0 / 351.5 MB, free: 288 kB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.02306/0.2767, allocations: 9.667 MB / 361.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.2767, allocations: 77.34 kB / 361.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.281, allocations: 2.199 MB / 363.4 MB, free: 4.324 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.2813, allocations: 65.7 kB / 363.5 MB, free: 4.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.2829, allocations: 1.667 MB / 365.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008859/0.2838, allocations: 0.7565 MB / 365.9 MB, free: 1.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000814/0.2846, allocations: 416.4 kB / 366.3 MB, free: 1.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2848, allocations: 309.1 kB / 366.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.2872, allocations: 1.305 MB / 367.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.2904, allocations: 1.776 MB / 369.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005446/0.2958, allocations: 3.211 MB / 372.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.2958, allocations: 4 kB / 372.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008927/0.3048, allocations: 4.152 MB / 377.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.3048, allocations: 12.47 kB / 377.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.3048, allocations: 16 kB / 377.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/0.3084, allocations: 0.9387 MB / 378 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.3109, allocations: 0.5294 MB / 378.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.3239, allocations: 9.036 MB / 387.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.326, allocations: 115.9 kB / 387.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.3262, allocations: 88 kB / 387.8 MB, free: 11.46 MB / 346.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.002353/0.3285, allocations: 1.217 MB / 389 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007675/0.3293, allocations: 342.3 kB / 389.3 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007606/0.3369, allocations: 3.672 MB / 393 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.3369, allocations: 27.94 kB / 393 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.337, allocations: 4 kB / 393 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.337, allocations: 12.05 kB / 393.1 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.3519, allocations: 7.107 MB / 400.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.3519, allocations: 4.344 kB / 400.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.3537, allocations: 381 kB / 400.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/0.3576, allocations: 0.9798 MB / 401.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/0.3578, allocations: 59.97 kB / 401.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/0.3724, allocations: 10.54 MB / 412.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.3724, allocations: 7.469 kB / 412.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.3836, allocations: 5.543 MB / 417.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/0.3854, allocations: 0.545 MB / 418.2 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.3858, allocations: 55.98 kB / 418.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.3871, allocations: 111.9 kB / 418.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005184/0.3877, allocations: 196.9 kB / 418.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.3878, allocations: 55.98 kB / 418.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002925/0.3908, allocations: 1.497 MB / 420.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3908, allocations: 0 / 420.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002878/0.3936, allocations: 0.7968 MB / 420.9 MB, free: 9.93 MB / 378.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.0007084/0.3943, allocations: 238.3 kB / 421.1 MB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007185/0.4015, allocations: 3.626 MB / 424.8 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4015, allocations: 0 / 424.8 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004928/0.4065, allocations: 2.304 MB / 427.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/0.4099, allocations: 0.6587 MB / 427.7 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1364/0.5464, allocations: 7.739 MB / 435.5 MB, free: 117.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003331/0.5497, allocations: 2.235 MB / 437.7 MB, free: 117.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002196/0.5519, allocations: 0.6448 MB / 438.4 MB, free: 117.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.5526, allocations: 167.5 kB / 438.5 MB, free: 117.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5526, allocations: 0 / 438.5 MB, free: 117.2 MB / 378.7 MB Notification: Performance of Templates: time 0.05954/0.6121, allocations: 40.42 MB / 478.9 MB, free: 88.39 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.777435456053354]