Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.001087/0.001087, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009548/0.0009548, allocations: 166.9 kB / 25.75 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9314/0.9314, allocations: 158.6 MB / 187.5 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.521e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.008343/0.008358, allocations: 9.48 MB / 260.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.0143, allocations: 3.101 MB / 263.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008863/0.01519, allocations: 59.56 kB / 263.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01644, allocations: 0.6674 MB / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.0181, allocations: 0.8382 MB / 265.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.0187, allocations: 403.3 kB / 265.7 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.02081, allocations: 2.645 MB / 268.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.0221, allocations: 1.24 MB / 269.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.02418, allocations: 1.782 MB / 271.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.02593, allocations: 1.403 MB / 272.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005064/0.02644, allocations: 320 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.02702, allocations: 419.8 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006039/0.02762, allocations: 0.9427 MB / 274.4 MB, free: 364 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008654/0.02849, allocations: 0.9861 MB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.03039, allocations: 2.309 MB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.03039, allocations: 4 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.0304, allocations: 0 / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.03043, allocations: 0 / 277.7 MB, free: 13.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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00317/0.0336, allocations: 3.039 MB / 280.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.03364, allocations: 11.98 kB / 280.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.03428, allocations: 479.1 kB / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.03573, allocations: 1.322 MB / 282.5 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.322e-05/0.03582, allocations: 156.6 kB / 282.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.03604, allocations: 220.3 kB / 282.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.03822, allocations: 1.732 MB / 284.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.03826, allocations: 7.938 kB / 284.6 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.03839, allocations: 88 kB / 284.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/0.03848, allocations: 104.2 kB / 284.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.03996, allocations: 0.7973 MB / 285.6 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/0.04718, allocations: 6.998 MB / 292.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.0482, allocations: 0.6689 MB / 293.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.04891, allocations: 0.4934 MB / 293.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.04907, allocations: 52.97 kB / 293.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.0491, allocations: 50.39 kB / 293.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 2.735e-06/0.0491, allocations: 4 kB / 293.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.004874/0.05397, allocations: 3.117 MB / 297 MB, free: 9.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.05401, allocations: 64.34 kB / 297.1 MB, free: 9.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.05504, allocations: 1.173 MB / 298.2 MB, free: 7.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.05509, allocations: 45.7 kB / 298.3 MB, free: 7.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.05561, allocations: 1.132 MB / 299.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.05583, allocations: 432.4 kB / 299.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.05609, allocations: 261.2 kB / 300.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.05624, allocations: 0.5433 MB / 300.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.0566, allocations: 219.9 kB / 300.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.05719, allocations: 0.7599 MB / 301.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.05822, allocations: 1.108 MB / 302.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.862e-06/0.05823, allocations: 4 kB / 302.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001728/0.05996, allocations: 1.327 MB / 304.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.05998, allocations: 11.98 kB / 304.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.05999, allocations: 12 kB / 304.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.06054, allocations: 246.8 kB / 304.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.06119, allocations: 331.5 kB / 304.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.06478, allocations: 6.6 MB / 311.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.06545, allocations: 95.84 kB / 311.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.06553, allocations: 56 kB / 311.4 MB, free: 9.879 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004853/0.06601, allocations: 244.1 kB / 311.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.06625, allocations: 198.9 kB / 311.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.06783, allocations: 1.085 MB / 312.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.06784, allocations: 16.03 kB / 312.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.06785, allocations: 7.938 kB / 312.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.06786, allocations: 7.969 kB / 312.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.07159, allocations: 3.024 MB / 316 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.0716, allocations: 7.938 kB / 316 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.07208, allocations: 203.7 kB / 316.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/0.0727, allocations: 290.8 kB / 316.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.07276, allocations: 35.98 kB / 316.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/0.07698, allocations: 8.424 MB / 324.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.07698, allocations: 8 kB / 324.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.07922, allocations: 1.622 MB / 326.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.07972, allocations: 282.9 kB / 326.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.07985, allocations: 28 kB / 326.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.0803, allocations: 75.91 kB / 326.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.08049, allocations: 104.7 kB / 327 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.08054, allocations: 35.98 kB / 327.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000751/0.08129, allocations: 0.6842 MB / 327.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08129, allocations: 4 kB / 327.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001209/0.0825, allocations: 459.9 kB / 328.2 MB, free: 8.289 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,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.0003083/0.08281, allocations: 197.8 kB / 328.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.08458, allocations: 1.472 MB / 329.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.08459, allocations: 4 kB / 329.9 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.08572, allocations: 1.272 MB / 331.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.08674, allocations: 367.7 kB / 331.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.09138, allocations: 3.837 MB / 335.3 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.09183, allocations: 0.5559 MB / 335.9 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.09244, allocations: 284.5 kB / 336.2 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.09266, allocations: 112.5 kB / 336.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.144e-06/0.09266, allocations: 0 / 336.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of Templates: time 0.129/0.2216, allocations: 23.3 MB / 359.6 MB, free: 96.78 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.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.4498001760803163]