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.002386/0.002386, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002759/0.002759, allocations: 169.3 kB / 24.28 MB, free: 152 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.655/1.655, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.141e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01887/0.0189, allocations: 12.7 MB / 285 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.02929, allocations: 4.199 MB / 289.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.03168, allocations: 99.38 kB / 289.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.152/0.1837, allocations: 0.9636 MB / 290.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.1881, allocations: 1.285 MB / 291.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1893, allocations: 0.5295 MB / 292.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.1943, allocations: 4.814 MB / 296.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003061/0.1973, allocations: 2.017 MB / 298.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006123/0.2035, allocations: 3.223 MB / 302.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.2078, allocations: 2.485 MB / 304.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.2092, allocations: 0.5543 MB / 305.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.2112, allocations: 0.6557 MB / 305.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.2124, allocations: 1.61 MB / 307.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.2149, allocations: 1.739 MB / 309.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006373/0.2213, allocations: 7.605 MB / 316.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2213, allocations: 0 / 316.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2213, allocations: 0 / 316.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002061/0.2215, allocations: 0 / 316.8 MB, free: 3.105 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.01148/0.233, allocations: 5.347 MB / 322.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.233, allocations: 12.03 kB / 322.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.2356, allocations: 0.838 MB / 323 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006894/0.2424, allocations: 2.439 MB / 325.5 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.2427, allocations: 269.6 kB / 325.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008562/0.2436, allocations: 359.8 kB / 326.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.2538, allocations: 5.038 MB / 331.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-05/0.2539, allocations: 11.05 kB / 331.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003696/0.2543, allocations: 147 kB / 331.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/0.2545, allocations: 179.1 kB / 331.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007589/0.2621, allocations: 3.481 MB / 334.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03435/0.2964, allocations: 18.08 MB / 353 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/0.3005, allocations: 2.223 MB / 355.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/0.3039, allocations: 1.529 MB / 356.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.3042, allocations: 69.02 kB / 356.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/0.3043, allocations: 59.39 kB / 356.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 6.653e-06/0.3043, allocations: 4 kB / 356.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.01855/0.3228, allocations: 7.131 MB / 364 MB, free: 3.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.3229, allocations: 77.34 kB / 364.1 MB, free: 3.375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004536/0.3274, allocations: 2.611 MB / 366.7 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.3277, allocations: 61.7 kB / 366.8 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.3297, allocations: 1.906 MB / 368.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.3307, allocations: 0.8322 MB / 369.5 MB, free: 14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009977/0.3317, allocations: 0.5056 MB / 370 MB, free: 13.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.3319, allocations: 480.7 kB / 370.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.3341, allocations: 0.8672 MB / 371.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.3368, allocations: 1.615 MB / 372.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004884/0.3416, allocations: 2.756 MB / 375.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.3417, allocations: 4 kB / 375.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007575/0.3492, allocations: 3.194 MB / 378.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.3493, allocations: 12 kB / 378.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.3493, allocations: 12 kB / 378.9 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.3526, allocations: 0.724 MB / 379.6 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.3549, allocations: 0.5228 MB / 380.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.3674, allocations: 9.077 MB / 389.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.3697, allocations: 119.9 kB / 389.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004567/0.3701, allocations: 84 kB / 389.4 MB, free: 9.34 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.002578/0.3727, allocations: 1.015 MB / 390.5 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.3739, allocations: 346.2 kB / 390.8 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006943/0.3809, allocations: 2.727 MB / 393.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.3809, allocations: 27.94 kB / 393.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/0.3809, allocations: 8 kB / 393.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.3809, allocations: 7.969 kB / 393.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.3991, allocations: 6.988 MB / 400.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.3992, allocations: 8.078 kB / 400.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.401, allocations: 388.2 kB / 400.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003659/0.4046, allocations: 0.7744 MB / 401.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/0.4049, allocations: 55.97 kB / 401.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.4187, allocations: 10.73 MB / 412.5 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.4187, allocations: 4 kB / 412.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00919/0.4279, allocations: 3.983 MB / 416.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.43, allocations: 0.4982 MB / 417 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007306/0.4308, allocations: 47.98 kB / 417 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.4325, allocations: 107.9 kB / 417.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/0.4332, allocations: 197.1 kB / 417.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/0.4334, allocations: 67.98 kB / 417.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003587/0.437, allocations: 1.516 MB / 418.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.437, allocations: 0 / 418.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003499/0.4405, allocations: 0.7968 MB / 419.7 MB, free: 10.55 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.0008728/0.4413, allocations: 245.7 kB / 420 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007207/0.4485, allocations: 3.161 MB / 423.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.4486, allocations: 4 kB / 423.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004435/0.453, allocations: 2.217 MB / 425.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/0.4573, allocations: 0.654 MB / 426 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1343/0.5917, allocations: 7.011 MB / 433 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/0.5945, allocations: 2.066 MB / 435.1 MB, free: 111.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002236/0.5968, allocations: 0.5089 MB / 435.6 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/0.5974, allocations: 167.8 kB / 435.7 MB, free: 111.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5974, allocations: 3.953 kB / 435.7 MB, free: 111.4 MB / 378.7 MB Notification: Performance of Templates: time 0.05876/0.6562, allocations: 40.46 MB / 476.2 MB, free: 85.67 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] 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: 8.035290300031193]