Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001082/0.001082, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002537, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007318/0.0007318, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001734, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9243/0.9243, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07892/1.003, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.849e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.006816/0.006835, allocations: 8.796 MB / 253.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.01137, allocations: 2.994 MB / 256.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007977/0.01217, allocations: 59.56 kB / 256.4 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.0132, allocations: 0.6133 MB / 257 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.01461, allocations: 0.7955 MB / 257.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.0151, allocations: 343.3 kB / 258.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.01699, allocations: 2.474 MB / 260.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009905/0.01798, allocations: 1.02 MB / 261.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.02014, allocations: 1.923 MB / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.02122, allocations: 1.212 MB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.02148, allocations: 272 kB / 265 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.02198, allocations: 371.8 kB / 265.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.02241, allocations: 0.6664 MB / 266.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.02306, allocations: 0.7135 MB / 266.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.02463, allocations: 1.888 MB / 268.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.02464, allocations: 0 / 268.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02464, allocations: 0 / 268.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.019e-05/0.02468, allocations: 0 / 268.7 MB, free: 6.035 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.002626/0.02731, allocations: 2.831 MB / 271.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.02734, allocations: 15.98 kB / 271.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.02796, allocations: 433.7 kB / 271.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.02908, allocations: 0.9513 MB / 272.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.02915, allocations: 135.9 kB / 273 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.02932, allocations: 188.3 kB / 273.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.101/0.1304, allocations: 1.395 MB / 274.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.1305, allocations: 4.891 kB / 274.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/0.1308, allocations: 69.66 kB / 274.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.59e-05/0.1309, allocations: 86.17 kB / 274.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1319, allocations: 0.52 MB / 275.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.1375, allocations: 4.797 MB / 280.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/0.1383, allocations: 0.5318 MB / 280.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.1391, allocations: 431.6 kB / 281 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.1392, allocations: 39.42 kB / 281.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.1392, allocations: 43 kB / 281.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.557e-06/0.1392, allocations: 2.906 kB / 281.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004761/0.144, allocations: 2.201 MB / 283.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.144, allocations: 62.59 kB / 283.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/0.1448, allocations: 0.8883 MB / 284.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.1449, allocations: 47.67 kB / 284.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.1452, allocations: 0.7676 MB / 285.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.1454, allocations: 364.5 kB / 285.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.1457, allocations: 210.4 kB / 285.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.1458, allocations: 356.6 kB / 286 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.146, allocations: 142.5 kB / 286.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.1464, allocations: 427.6 kB / 286.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.1471, allocations: 0.6926 MB / 287.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.1471, allocations: 12.31 kB / 287.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001546/0.1486, allocations: 0.9354 MB / 288.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1486, allocations: 7.125 kB / 288.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1487, allocations: 8.375 kB / 288.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.1498, allocations: 491.7 kB / 288.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.1505, allocations: 253 kB / 288.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.1541, allocations: 4.171 MB / 293.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.1547, allocations: 38.81 kB / 293.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.1548, allocations: 34.97 kB / 293.2 MB, free: 7.234 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004022/0.1552, allocations: 189.8 kB / 293.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.1554, allocations: 119.7 kB / 293.5 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.1565, allocations: 0.7434 MB / 294.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1565, allocations: 8.5 kB / 294.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1565, allocations: 2.062 kB / 294.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1565, allocations: 9.266 kB / 294.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.1592, allocations: 1.835 MB / 296.1 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1592, allocations: 1.75 kB / 296.1 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.1597, allocations: 197.3 kB / 296.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.16, allocations: 179.3 kB / 296.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.1607, allocations: 300 kB / 296.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.1608, allocations: 26.75 kB / 296.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.1629, allocations: 4.373 MB / 301.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.163, allocations: 7.406 kB / 301.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.1642, allocations: 1.066 MB / 302.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.1643, allocations: 24 kB / 302.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.1647, allocations: 39.97 kB / 302.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.1649, allocations: 80.78 kB / 302.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.1649, allocations: 20 kB / 302.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003746/0.1653, allocations: 454.8 kB / 302.8 MB, free: 336 kB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1653, allocations: 0 / 302.8 MB, free: 336 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001172/0.1665, allocations: 420 kB / 303.2 MB, free: 15.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(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.0002802/0.1667, allocations: 164.5 kB / 303.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.1681, allocations: 0.9995 MB / 304.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-05/0.1682, allocations: 23.12 kB / 304.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.169, allocations: 0.7411 MB / 305.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.1701, allocations: 440.2 kB / 305.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.1873, allocations: 3.321 MB / 308.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.1877, allocations: 471.7 kB / 309.3 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005974/0.1883, allocations: 159.2 kB / 309.5 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/0.189, allocations: 338.7 kB / 309.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.189, allocations: 0 / 309.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of Templates: time 0.03183/0.2208, allocations: 24.48 MB / 334.3 MB, free: 1.203 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.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: 3.288094221614301]