Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.00134/0.00134, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001367/0.001367, allocations: 212.7 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.91 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2612, allocations: 53.37 MB / 431.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02712/0.2883, allocations: 21.69 MB / 453.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.303, allocations: 6.831 MB / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004291/0.3073, allocations: 171.2 kB / 460.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.3248, allocations: 6.927 MB / 467.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.3349, allocations: 2.884 MB / 470.2 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005972/0.3409, allocations: 1.614 MB / 471.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.3558, allocations: 9.193 MB / 481 MB, free: 5.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02193/0.3777, allocations: 11.06 MB / 492 MB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00861/0.3864, allocations: 4.766 MB / 496.8 MB, free: 5.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009262/0.3956, allocations: 5.245 MB / 0.4903 GB, free: 228 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003219/0.3988, allocations: 1.359 MB / 0.4916 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00463/0.4035, allocations: 1.703 MB / 0.4933 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00392/0.4074, allocations: 2.623 MB / 0.4958 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01001/0.4174, allocations: 4.958 MB / 0.5007 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02547/0.4429, allocations: 18.26 MB / 0.5185 GB, free: 3.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4429, allocations: 0 / 0.5185 GB, free: 3.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4429, allocations: 0 / 0.5185 GB, free: 3.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005849/0.4435, allocations: 0 / 0.5185 GB, free: 3.238 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03453/0.478, allocations: 10.66 MB / 0.5289 GB, free: 8.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.4781, allocations: 12.03 kB / 0.5289 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03618/0.5142, allocations: 5.907 MB / 0.5347 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4395/0.9537, allocations: 5.768 MB / 0.5403 GB, free: 86.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/0.9542, allocations: 0.5515 MB / 0.5409 GB, free: 86.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002668/0.9569, allocations: 0.7337 MB / 0.5416 GB, free: 86.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.9855, allocations: 12.89 MB / 0.5542 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004374/0.986, allocations: 15.45 kB / 0.5542 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002824/0.9888, allocations: 311.5 kB / 0.5545 GB, free: 80.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005333/0.9893, allocations: 494.6 kB / 0.555 GB, free: 80.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/1.015, allocations: 12.63 MB / 0.5673 GB, free: 71.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06097/1.076, allocations: 40.54 MB / 0.6069 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/1.089, allocations: 8.608 MB / 0.6153 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/1.093, allocations: 2.922 MB / 0.6181 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/1.093, allocations: 121.2 kB / 0.6183 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/1.093, allocations: 77.78 kB / 0.6183 GB, free: 19.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.972e-06/1.093, allocations: 384 / 0.6183 GB, free: 19.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03393/1.127, allocations: 16.93 MB / 0.6349 GB, free: 3.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.127, allocations: 94.67 kB / 0.635 GB, free: 3.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/1.132, allocations: 2.845 MB / 0.6377 GB, free: 332 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003968/1.132, allocations: 93.7 kB / 0.6378 GB, free: 232 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/1.135, allocations: 3.142 MB / 0.6409 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.137, allocations: 1.464 MB / 0.6423 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/1.139, allocations: 0.9543 MB / 0.6433 GB, free: 10.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/1.139, allocations: 313 kB / 0.6435 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/1.143, allocations: 2.508 MB / 0.646 GB, free: 7.922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006146/1.15, allocations: 4.113 MB / 0.65 GB, free: 3.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.161, allocations: 7.207 MB / 0.6571 GB, free: 11.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.055e-05/1.161, allocations: 12 kB / 0.6571 GB, free: 11.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01642/1.178, allocations: 8.03 MB / 0.6649 GB, free: 3.094 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/1.178, allocations: 28 kB / 0.6649 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.897e-05/1.178, allocations: 55.94 kB / 0.665 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/1.182, allocations: 1.223 MB / 0.6662 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/1.186, allocations: 1.147 MB / 0.6673 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.204, allocations: 11.03 MB / 0.6781 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.208, allocations: 267.7 kB / 0.6783 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007664/1.209, allocations: 236 kB / 0.6786 GB, free: 4.887 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005673/1.214, allocations: 2.963 MB / 0.6814 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/1.215, allocations: 361.7 kB / 0.6818 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.228, allocations: 6.674 MB / 0.6883 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/1.228, allocations: 43.94 kB / 0.6884 GB, free: 10.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.228, allocations: 12 kB / 0.6884 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/1.228, allocations: 19.92 kB / 0.6884 GB, free: 10.77 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/1.255, allocations: 14.87 MB / 0.7029 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.256, allocations: 8 kB / 0.7029 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/1.259, allocations: 0.7528 MB / 0.7037 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003432/1.262, allocations: 1.124 MB / 0.7048 GB, free: 9.91 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003264/1.263, allocations: 107.9 kB / 0.7049 GB, free: 9.805 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.278, allocations: 9.954 MB / 0.7146 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.278, allocations: 15.94 kB / 0.7146 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.295, allocations: 10 MB / 0.7244 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003205/1.298, allocations: 0.8918 MB / 0.7252 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/1.299, allocations: 87.98 kB / 0.7253 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.302, allocations: 199.7 kB / 0.7255 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007402/1.302, allocations: 319 kB / 0.7258 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/1.303, allocations: 132 kB / 0.7259 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003688/1.306, allocations: 1.955 MB / 0.7278 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.306, allocations: 0 / 0.7278 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005102/1.311, allocations: 1.394 MB / 0.7292 GB, free: 0.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006231/1.312, allocations: 267.2 kB / 0.7295 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.324, allocations: 6.488 MB / 0.7358 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.324, allocations: 3.938 kB / 0.7358 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006696/1.331, allocations: 3.326 MB / 0.739 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/1.335, allocations: 0.84 MB / 0.7399 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2337/1.569, allocations: 14.24 MB / 0.7538 GB, free: 179.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005879/1.575, allocations: 5.084 MB / 0.7587 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004066/1.579, allocations: 1.611 MB / 0.7603 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.58, allocations: 328.9 kB / 0.7606 GB, free: 178.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.58, allocations: 13.34 kB / 0.7606 GB, free: 178.8 MB / 0.545 GB Notification: Performance of Templates: time 0.09337/1.673, allocations: 65.25 MB / 0.8244 GB, free: 126.5 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.182854318991303]