Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001716/0.001716, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 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.002018/0.002018, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 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 1.488/1.488, allocations: 222.9 MB / 247.1 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 55.91 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 49.43 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01198/0.1207, allocations: 9.652 MB / 417.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.1283, allocations: 3.556 MB / 421.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.1301, allocations: 47.81 kB / 421.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.1324, allocations: 0.6599 MB / 422.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.1356, allocations: 0.8349 MB / 422.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1369, allocations: 459.1 kB / 423.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.1405, allocations: 2.653 MB / 426 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.1428, allocations: 1.877 MB / 427.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.1449, allocations: 1.176 MB / 429 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.1474, allocations: 1.498 MB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.1479, allocations: 308 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2223/0.3702, allocations: 0.5681 MB / 431.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.3713, allocations: 1.023 MB / 432.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3732, allocations: 1.482 MB / 433.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.3789, allocations: 4.303 MB / 438.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3789, allocations: 1.281 kB / 438.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3789, allocations: 3.531 kB / 438.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001509/0.3791, allocations: 1.781 kB / 438.2 MB, free: 7.914 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007618/0.3867, allocations: 3.242 MB / 441.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3867, allocations: 10.16 kB / 441.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.3877, allocations: 338.4 kB / 441.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.3907, allocations: 1.708 MB / 443.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3909, allocations: 151 kB / 443.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.3912, allocations: 210.7 kB / 443.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/0.396, allocations: 2.696 MB / 446.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/0.3961, allocations: 7.406 kB / 446.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.3963, allocations: 84.28 kB / 446.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.3964, allocations: 99.64 kB / 446.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.4004, allocations: 2.275 MB / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.4135, allocations: 8.161 MB / 457.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.4162, allocations: 1.631 MB / 458.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.4179, allocations: 1.1 MB / 459.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.4182, allocations: 136.9 kB / 460 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4182, allocations: 42.97 kB / 460.1 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/0.4182, allocations: 0 / 460.1 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01403/0.4323, allocations: 6.496 MB / 466.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4323, allocations: 67.25 kB / 466.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.4354, allocations: 2.153 MB / 468.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.4356, allocations: 50.58 kB / 468.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009829/0.4366, allocations: 1.136 MB / 470 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/0.4371, allocations: 473.9 kB / 470.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.4376, allocations: 243.5 kB / 470.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4378, allocations: 357.9 kB / 471 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4393, allocations: 0.7613 MB / 471.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.4409, allocations: 1.013 MB / 472.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.444, allocations: 1.861 MB / 474.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4441, allocations: 4 kB / 474.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005689/0.4498, allocations: 2.772 MB / 477.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4498, allocations: 8 kB / 477.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4498, allocations: 8.25 kB / 477.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.452, allocations: 0.7848 MB / 478.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4533, allocations: 275.6 kB / 478.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.4664, allocations: 9.599 MB / 488.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4681, allocations: 95.84 kB / 488.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.4683, allocations: 48.84 kB / 488.3 MB, free: 7.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.4698, allocations: 0.7424 MB / 489 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/0.4703, allocations: 206.7 kB / 489.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.4752, allocations: 2.49 MB / 491.7 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/0.4753, allocations: 19.98 kB / 491.7 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4753, allocations: 4 kB / 491.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.4753, allocations: 3.984 kB / 491.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009692/0.485, allocations: 4.947 MB / 496.7 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.485, allocations: 4 kB / 496.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4861, allocations: 217.4 kB / 496.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/0.4881, allocations: 0.6538 MB / 497.5 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.4882, allocations: 31.98 kB / 497.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.4987, allocations: 8.716 MB / 0.4944 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4988, allocations: 4.031 kB / 0.4944 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007158/0.506, allocations: 3.545 MB / 0.4979 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.5072, allocations: 451.7 kB / 0.4983 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005879/0.5078, allocations: 32.69 kB / 0.4984 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.5092, allocations: 87.89 kB / 0.4984 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.5096, allocations: 99.94 kB / 0.4985 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.5097, allocations: 35.98 kB / 0.4986 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002982/0.5127, allocations: 1.527 MB / 0.5001 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5127, allocations: 0 / 0.5001 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002468/0.5152, allocations: 0.5233 MB / 0.5006 GB, free: 14.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.517, allocations: 464.6 kB / 0.501 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005322/0.5223, allocations: 2.396 MB / 0.5034 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5223, allocations: 0 / 0.5034 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.5253, allocations: 1.59 MB / 0.5049 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/0.5283, allocations: 461.6 kB / 0.5053 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5388, allocations: 5.256 MB / 0.5105 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.5412, allocations: 1.932 MB / 0.5124 GB, free: 2.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007491/0.542, allocations: 139.4 kB / 0.5125 GB, free: 2.84 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.542, allocations: 4 kB / 0.5125 GB, free: 2.836 MB / 414.1 MB Notification: Performance of Templates: time 0.08496/0.627, allocations: 63.98 MB / 0.575 GB, free: 2.883 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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: 14.596693709027022]