Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.0008656/0.0008656, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.0049/0.0049, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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.8782/0.8782, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.661e-05, allocations: 2.281 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007718/0.007755, allocations: 8.647 MB / 334.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.0132, allocations: 2.929 MB / 337.4 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009835/0.01419, allocations: 63.56 kB / 337.5 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.01546, allocations: 0.6248 MB / 338.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.01712, allocations: 0.8186 MB / 338.9 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.01782, allocations: 391.3 kB / 339.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.01992, allocations: 2.532 MB / 341.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.02102, allocations: 0.9937 MB / 342.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.02273, allocations: 1.622 MB / 344.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.02404, allocations: 1.118 MB / 345.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.02443, allocations: 280 kB / 345.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.02493, allocations: 379.8 kB / 346.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000507/0.02543, allocations: 0.8102 MB / 347 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007946/0.02623, allocations: 0.8731 MB / 347.9 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.02885, allocations: 3.704 MB / 351.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02885, allocations: 0 / 351.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.02885, allocations: 4 kB / 351.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.423e-05/0.02894, allocations: 0 / 351.6 MB, free: 5.477 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003464/0.0324, allocations: 2.556 MB / 354.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.03244, allocations: 8.031 kB / 354.2 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005067/0.03295, allocations: 291.3 kB / 354.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.03443, allocations: 1.293 MB / 355.8 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.0345, allocations: 148.2 kB / 355.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.03469, allocations: 192.3 kB / 356.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.03729, allocations: 2.527 MB / 358.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.03732, allocations: 4 kB / 358.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.03745, allocations: 76 kB / 358.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-05/0.03752, allocations: 91.67 kB / 358.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.03963, allocations: 1.951 MB / 360.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006672/0.0463, allocations: 6.775 MB / 367.5 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.04736, allocations: 1.01 MB / 368.5 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.04842, allocations: 0.9016 MB / 369.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.04857, allocations: 40.97 kB / 369.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.0486, allocations: 47.5 kB / 369.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 3.397e-06/0.04861, allocations: 0 / 369.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.007352/0.05596, allocations: 5.498 MB / 375 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.056, allocations: 68.41 kB / 375.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.05712, allocations: 1.174 MB / 376.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.05717, allocations: 45.7 kB / 376.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.05763, allocations: 0.9489 MB / 377.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.05784, allocations: 396.6 kB / 377.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.05809, allocations: 255.5 kB / 377.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.0582, allocations: 357.9 kB / 378.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.05884, allocations: 0.6364 MB / 378.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/0.05966, allocations: 1.005 MB / 379.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.06118, allocations: 1.735 MB / 381.6 MB, free: 6.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.06118, allocations: 4 kB / 381.6 MB, free: 6.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002288/0.06347, allocations: 2.234 MB / 383.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.06349, allocations: 8 kB / 383.9 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.06351, allocations: 16.31 kB / 383.9 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/0.06422, allocations: 487.9 kB / 384.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.06479, allocations: 307.5 kB / 384.6 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.06919, allocations: 6.69 MB / 391.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.06969, allocations: 87.81 kB / 391.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.06976, allocations: 63.92 kB / 391.5 MB, free: 12.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007739/0.07053, allocations: 0.5993 MB / 392.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.07067, allocations: 139.1 kB / 392.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.07261, allocations: 1.944 MB / 394.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.07262, allocations: 12 kB / 394.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.07263, allocations: 8.062 kB / 394.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.07263, allocations: 3.984 kB / 394.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.07646, allocations: 3.638 MB / 397.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.07646, allocations: 4 kB / 397.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.07686, allocations: 187.7 kB / 398 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007672/0.07763, allocations: 0.5351 MB / 398.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.07769, allocations: 31.98 kB / 398.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.08269, allocations: 8.195 MB / 406.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.08269, allocations: 4.031 kB / 406.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.08561, allocations: 2.836 MB / 409.6 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.08601, allocations: 263 kB / 409.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.08611, allocations: 31.98 kB / 409.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.0865, allocations: 67.92 kB / 410 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.08667, allocations: 100.8 kB / 410.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.08671, allocations: 27.98 kB / 410.1 MB, free: 9.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007462/0.08746, allocations: 0.7946 MB / 410.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08746, allocations: 384 / 410.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001054/0.08851, allocations: 432 kB / 411.3 MB, free: 8.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.0003011/0.08881, allocations: 190.9 kB / 411.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.0909, allocations: 2.007 MB / 413.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.0909, allocations: 0 / 413.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.09213, allocations: 1.373 MB / 414.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.09308, allocations: 360.6 kB / 415.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.09748, allocations: 3.991 MB / 419.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.09822, allocations: 1.057 MB / 420.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.09844, allocations: 108.5 kB / 420.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.09844, allocations: 0 / 420.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of Templates: time 0.1768/0.2752, allocations: 70.92 MB / 491.3 MB, free: 84.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 8.13314363732934]