Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.000788/0.000788, allocations: 80 kB / 21.43 MB, free: 3.133 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.0032/0.0032, allocations: 139.5 kB / 24.68 MB, free: 8.883 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.84/0.84, allocations: 173.4 MB / 201.2 MB, free: 9.438 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.309e-05, allocations: 6.219 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00651/0.006534, allocations: 7.913 MB / 327.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.009999, allocations: 2.707 MB / 330.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/0.01052, allocations: 51.69 kB / 330.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.0118, allocations: 0.5938 MB / 331 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.01301, allocations: 0.7994 MB / 331.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.01339, allocations: 327.4 kB / 332.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.01486, allocations: 2.449 MB / 334.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.01571, allocations: 0.9851 MB / 335.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.01685, allocations: 1.579 MB / 337.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.01802, allocations: 1.173 MB / 338.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.01823, allocations: 280 kB / 338.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.01862, allocations: 367.8 kB / 338.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.01908, allocations: 0.8336 MB / 339.7 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005511/0.01963, allocations: 0.8652 MB / 340.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.02183, allocations: 3.728 MB / 344.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02184, allocations: 0 / 344.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.02184, allocations: 0 / 344.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.02187, allocations: 0 / 344.3 MB, free: 13.1 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.002892/0.02476, allocations: 2.544 MB / 346.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.02481, allocations: 8.922 kB / 346.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.02521, allocations: 267.4 kB / 347.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.02661, allocations: 1.332 MB / 348.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.02668, allocations: 139.9 kB / 348.6 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.02686, allocations: 184.3 kB / 348.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.02926, allocations: 2.51 MB / 351.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.0293, allocations: 3.938 kB / 351.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.02941, allocations: 72 kB / 351.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.02947, allocations: 95.48 kB / 351.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.03165, allocations: 2.009 MB / 353.5 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/0.0378, allocations: 6.401 MB / 359.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.0389, allocations: 0.9888 MB / 360.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.03991, allocations: 0.8694 MB / 361.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.04005, allocations: 40.97 kB / 361.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.04007, allocations: 43.56 kB / 361.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.214e-06/0.04007, allocations: 0 / 361.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.00565/0.04572, allocations: 4.66 MB / 366.5 MB, free: 6.539 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.04576, allocations: 68.34 kB / 366.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.04686, allocations: 1.241 MB / 367.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.04691, allocations: 45.7 kB / 367.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.0473, allocations: 0.918 MB / 368.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.04747, allocations: 364.9 kB / 369.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.0477, allocations: 214.9 kB / 369.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.04779, allocations: 349.9 kB / 369.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.0484, allocations: 0.635 MB / 370.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/0.04913, allocations: 0.922 MB / 371.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.05053, allocations: 1.653 MB / 372.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.05053, allocations: 4 kB / 372.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002544/0.05307, allocations: 2.36 MB / 375.2 MB, free: 13.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.05309, allocations: 19.92 kB / 375.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.0531, allocations: 8 kB / 375.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.05411, allocations: 0.7117 MB / 376 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.05456, allocations: 239.6 kB / 376.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.06127, allocations: 8.372 MB / 384.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.0618, allocations: 87.86 kB / 384.7 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.06186, allocations: 48.16 kB / 384.7 MB, free: 3.785 MB / 346.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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000759/0.06262, allocations: 0.6301 MB / 385.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.06277, allocations: 139.1 kB / 385.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.06468, allocations: 1.873 MB / 387.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.06469, allocations: 12 kB / 387.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.06469, allocations: 4 kB / 387.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.0647, allocations: 7.922 kB / 387.4 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003753/0.06845, allocations: 3.518 MB / 390.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.06846, allocations: 8.156 kB / 390.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.06885, allocations: 179.8 kB / 391.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006392/0.06949, allocations: 466.9 kB / 391.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.06954, allocations: 27.98 kB / 391.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/0.07339, allocations: 6.27 MB / 397.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.07339, allocations: 3.938 kB / 397.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.07587, allocations: 2.756 MB / 400.6 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.07624, allocations: 271 kB / 400.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.07633, allocations: 31.98 kB / 400.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.07669, allocations: 67.92 kB / 400.9 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.07682, allocations: 80.84 kB / 401 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.07686, allocations: 31.92 kB / 401.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000766/0.07762, allocations: 0.8454 MB / 401.9 MB, free: 2.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.07762, allocations: 0 / 401.9 MB, free: 2.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001015/0.07864, allocations: 435.9 kB / 402.3 MB, free: 1.68 MB / 362.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%), (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.0002721/0.07891, allocations: 182.3 kB / 402.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.08086, allocations: 1.95 MB / 404.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.08086, allocations: 4.25 kB / 404.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.08194, allocations: 1.225 MB / 405.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.08277, allocations: 320 kB / 406 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.08686, allocations: 3.922 MB / 409.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.08763, allocations: 1.098 MB / 411 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.08784, allocations: 100.5 kB / 411.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.08784, allocations: 0 / 411.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Templates: time 0.1584/0.2463, allocations: 52.6 MB / 463.7 MB, free: 118.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 7.04110364895314]