Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9774/0.9774, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.544e-05, allocations: 5.266 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007259/0.007284, allocations: 8.589 MB / 277.8 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.01169, allocations: 2.764 MB / 280.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.0126, allocations: 59.62 kB / 280.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.01373, allocations: 0.5899 MB / 281.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.01541, allocations: 0.7683 MB / 282 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.01601, allocations: 327.4 kB / 282.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.01873, allocations: 2.313 MB / 284.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.0202, allocations: 0.9891 MB / 285.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.0227, allocations: 1.684 MB / 287.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.02409, allocations: 1.154 MB / 288.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.02444, allocations: 256 kB / 288.7 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.02495, allocations: 343.8 kB / 289 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005069/0.02545, allocations: 0.7712 MB / 289.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000766/0.02622, allocations: 0.8301 MB / 290.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.02808, allocations: 1.908 MB / 292.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.02808, allocations: 0 / 292.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02808, allocations: 0 / 292.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.02811, allocations: 0 / 292.5 MB, free: 2.352 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.002659/0.03077, allocations: 2.506 MB / 295 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.0308, allocations: 12.03 kB / 295.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.03134, allocations: 407.4 kB / 295.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.03258, allocations: 1.151 MB / 296.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.03265, allocations: 131.9 kB / 296.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.03283, allocations: 184.2 kB / 296.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.03429, allocations: 1.368 MB / 298.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.03433, allocations: 15.83 kB / 298.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.03443, allocations: 75.98 kB / 298.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/0.0345, allocations: 95.5 kB / 298.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.03525, allocations: 0.5217 MB / 299 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005515/0.04077, allocations: 5.71 MB / 304.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.04141, allocations: 0.5203 MB / 305.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.04195, allocations: 429.8 kB / 305.6 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.04207, allocations: 40.98 kB / 305.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.0421, allocations: 50.39 kB / 305.7 MB, free: 4.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 2.364e-06/0.0421, allocations: 0 / 305.7 MB, free: 4.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.00418/0.04628, allocations: 2.491 MB / 308.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.04631, allocations: 72.34 kB / 308.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.04704, allocations: 0.9562 MB / 309.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.04709, allocations: 41.7 kB / 309.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.04753, allocations: 0.9631 MB / 310.2 MB, free: 172 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.04774, allocations: 396.8 kB / 310.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.04797, allocations: 228.4 kB / 310.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.04812, allocations: 0.5393 MB / 311.4 MB, free: 15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.04831, allocations: 150.4 kB / 311.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.0487, allocations: 0.5869 MB / 312.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.04943, allocations: 0.8422 MB / 313 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.04944, allocations: 7.75 kB / 313 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001299/0.05074, allocations: 1.081 MB / 314.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.05076, allocations: 12.23 kB / 314.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.05077, allocations: 15.94 kB / 314.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.05129, allocations: 262.2 kB / 314.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.05178, allocations: 235.6 kB / 314.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.05505, allocations: 6.391 MB / 321 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.05556, allocations: 39.98 kB / 321 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.05562, allocations: 47.97 kB / 321 MB, free: 4.613 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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 {(2,12,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.0004256/0.05604, allocations: 232.2 kB / 321.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.05624, allocations: 167.1 kB / 321.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.05744, allocations: 0.9345 MB / 322.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.05746, allocations: 12 kB / 322.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.05746, allocations: 7.938 kB / 322.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.05747, allocations: 7.969 kB / 322.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.06077, allocations: 2.62 MB / 325 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.06079, allocations: 11.92 kB / 325 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.06115, allocations: 155.8 kB / 325.2 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006273/0.06178, allocations: 306.5 kB / 325.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.06183, allocations: 27.94 kB / 325.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.06564, allocations: 8.128 MB / 333.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.06564, allocations: 7.938 kB / 333.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.0673, allocations: 1.4 MB / 335 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.06766, allocations: 219 kB / 335.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.06778, allocations: 31.94 kB / 335.3 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.06812, allocations: 39.97 kB / 335.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.06827, allocations: 96.7 kB / 335.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.06831, allocations: 24 kB / 335.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004595/0.06877, allocations: 0.5416 MB / 336 MB, free: 4.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.06877, allocations: 3.938 kB / 336 MB, free: 4.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001053/0.06982, allocations: 407.9 kB / 336.4 MB, free: 4.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[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 (88): * Single equations (assignments): 83 * 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 {(2,12,100.0%), (1,6,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.000264/0.07009, allocations: 183 kB / 336.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.07139, allocations: 1.302 MB / 337.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.07139, allocations: 0 / 337.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.07229, allocations: 1.155 MB / 339 MB, free: 1.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/0.07322, allocations: 320.2 kB / 339.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.07761, allocations: 3.305 MB / 342.6 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.07804, allocations: 499.5 kB / 343.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.07857, allocations: 158.8 kB / 343.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.07914, allocations: 382 kB / 343.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of SimCode: time 2.254e-06/0.07915, allocations: 0 / 343.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Templates: time 0.1813/0.2605, allocations: 22.3 MB / 366 MB, free: 80.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_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.5243429536931217]