Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009084/0.0009084, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009605/0.0009605, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8958/0.8958, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.539e-05, allocations: 5.406 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.008311/0.008326, allocations: 8.71 MB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.01198, allocations: 2.975 MB / 285.1 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.01242, allocations: 63.56 kB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.01331, allocations: 0.6055 MB / 285.8 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.01437, allocations: 0.815 MB / 286.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.01476, allocations: 343.3 kB / 286.9 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.01623, allocations: 2.466 MB / 289.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09566/0.1119, allocations: 1.009 MB / 290.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.1144, allocations: 1.74 MB / 292.1 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.1162, allocations: 1.219 MB / 293.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006223/0.1168, allocations: 271.6 kB / 293.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.1174, allocations: 369.5 kB / 294 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.118, allocations: 0.8067 MB / 294.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.1191, allocations: 0.8641 MB / 295.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.1211, allocations: 2.014 MB / 297.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1211, allocations: 1.844 kB / 297.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1211, allocations: 1 kB / 297.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.001e-05/0.1212, allocations: 3.844 kB / 297.7 MB, free: 16.05 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.002981/0.1241, allocations: 2.384 MB / 300 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1242, allocations: 9.094 kB / 300 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006576/0.1248, allocations: 356.1 kB / 300.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1259, allocations: 0.9499 MB / 301.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.126, allocations: 138 kB / 301.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.1262, allocations: 185.7 kB / 301.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1275, allocations: 1.393 MB / 303.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.1275, allocations: 5.484 kB / 303.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.1276, allocations: 78.88 kB / 303.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.965e-05/0.1277, allocations: 92.53 kB / 303.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.1285, allocations: 0.529 MB / 303.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.1325, allocations: 4.765 MB / 308.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.1331, allocations: 0.5283 MB / 309.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.1336, allocations: 435.9 kB / 309.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1337, allocations: 56.44 kB / 309.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1337, allocations: 44.25 kB / 309.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.974e-06/0.1337, allocations: 0 / 309.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002954/0.1367, allocations: 2.175 MB / 311.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.1367, allocations: 72.34 kB / 311.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.1371, allocations: 0.8927 MB / 312.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.1372, allocations: 49.69 kB / 312.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1374, allocations: 0.7714 MB / 313.5 MB, free: 7.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1375, allocations: 370.1 kB / 313.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.1377, allocations: 208.6 kB / 314.1 MB, free: 7.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.581e-05/0.1377, allocations: 348.7 kB / 314.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.1379, allocations: 141.4 kB / 314.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.1381, allocations: 432.3 kB / 315 MB, free: 6.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.1385, allocations: 0.6958 MB / 315.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1385, allocations: 4 kB / 315.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001038/0.1396, allocations: 0.9295 MB / 316.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1396, allocations: 8 kB / 316.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1396, allocations: 12 kB / 316.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.1405, allocations: 491.3 kB / 317.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.1409, allocations: 221.7 kB / 317.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.1435, allocations: 4.142 MB / 321.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.1438, allocations: 48.05 kB / 321.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.1439, allocations: 36 kB / 321.6 MB, free: 15.79 MB / 282.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.0002652/0.1441, allocations: 178.2 kB / 321.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1443, allocations: 119.9 kB / 321.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008824/0.1452, allocations: 0.7423 MB / 322.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1452, allocations: 12 kB / 322.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1452, allocations: 4 kB / 322.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1452, allocations: 7.969 kB / 322.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.1473, allocations: 1.84 MB / 324.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1473, allocations: 8.219 kB / 324.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.1476, allocations: 154.4 kB / 324.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.1482, allocations: 296.8 kB / 324.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.1482, allocations: 27.98 kB / 324.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.1505, allocations: 4.361 MB / 329.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1505, allocations: 4.031 kB / 329.3 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.1516, allocations: 1.065 MB / 330.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.1519, allocations: 183 kB / 330.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.152, allocations: 27.98 kB / 330.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.1523, allocations: 35.98 kB / 330.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1524, allocations: 80.59 kB / 330.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.1524, allocations: 23.98 kB / 330.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003373/0.1528, allocations: 450.4 kB / 331.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1528, allocations: 0 / 331.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007562/0.1535, allocations: 420 kB / 331.6 MB, free: 5.707 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.0002297/0.1538, allocations: 164.5 kB / 331.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1548, allocations: 1.018 MB / 332.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.1548, allocations: 12.5 kB / 332.8 MB, free: 4.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.1554, allocations: 0.7399 MB / 333.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.1562, allocations: 334.4 kB / 333.8 MB, free: 3.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1595, allocations: 3.197 MB / 337 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1599, allocations: 459.8 kB / 337.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.1602, allocations: 167.1 kB / 337.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.1608, allocations: 341.1 kB / 338 MB, free: 15.29 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1608, allocations: 0 / 338 MB, free: 15.29 MB / 298.7 MB Notification: Performance of Templates: time 0.02726/0.188, allocations: 23.56 MB / 361.5 MB, free: 8.148 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.149282439146191]