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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.172 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.002484/0.002484, allocations: 213.3 kB / 23.73 MB, free: 4.383 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001575/0.001575, allocations: 47.92 kB / 378.3 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2299, allocations: 53.38 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02405/0.254, allocations: 18.6 MB / 450.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.2684, allocations: 6.504 MB / 456.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.2728, allocations: 179.1 kB / 456.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01678/0.2896, allocations: 6.377 MB / 463.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008823/0.2984, allocations: 2.814 MB / 466.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.3027, allocations: 1.572 MB / 467.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.3147, allocations: 9.168 MB / 476.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.333, allocations: 11.06 MB / 487.9 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007599/0.3405, allocations: 4.785 MB / 492.7 MB, free: 9.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009048/0.3496, allocations: 5.237 MB / 497.9 MB, free: 4.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003304/0.3529, allocations: 1.352 MB / 499.3 MB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004455/0.3574, allocations: 1.691 MB / 0.4892 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002855/0.3602, allocations: 2.627 MB / 0.4918 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005741/0.366, allocations: 3.841 MB / 0.4955 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02029/0.3862, allocations: 18.32 MB / 0.5134 GB, free: 8.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3863, allocations: 0 / 0.5134 GB, free: 8.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3863, allocations: 0 / 0.5134 GB, free: 8.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003385/0.3866, allocations: 0 / 0.5134 GB, free: 8.168 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.03056/0.4172, allocations: 10.66 MB / 0.5238 GB, free: 13.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4172, allocations: 8.031 kB / 0.5239 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/0.452, allocations: 5.899 MB / 0.5296 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.4663, allocations: 5.772 MB / 0.5352 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006823/0.467, allocations: 0.554 MB / 0.5358 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002983/0.47, allocations: 0.742 MB / 0.5365 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3805/0.8505, allocations: 13.04 MB / 0.5492 GB, free: 85.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.8507, allocations: 13.77 kB / 0.5493 GB, free: 85.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007965/0.8515, allocations: 306.8 kB / 0.5496 GB, free: 85.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003364/0.8518, allocations: 497 kB / 0.55 GB, free: 85.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.8684, allocations: 12.55 MB / 0.5623 GB, free: 75.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0439/0.9123, allocations: 35.98 MB / 0.5974 GB, free: 39.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.9235, allocations: 8.511 MB / 0.6057 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.9268, allocations: 2.917 MB / 0.6086 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.9271, allocations: 99.12 kB / 0.6087 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.9272, allocations: 77.78 kB / 0.6087 GB, free: 28.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.713e-06/0.9272, allocations: 0 / 0.6087 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03005/0.9572, allocations: 16.74 MB / 0.6251 GB, free: 12.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9573, allocations: 90.67 kB / 0.6252 GB, free: 12.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/0.9604, allocations: 2.689 MB / 0.6278 GB, free: 9.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.9607, allocations: 93.7 kB / 0.6279 GB, free: 9.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.9618, allocations: 3.159 MB / 0.631 GB, free: 6.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007973/0.9626, allocations: 1.466 MB / 0.6324 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.9637, allocations: 0.9583 MB / 0.6333 GB, free: 4.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.9638, allocations: 305.1 kB / 0.6336 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/0.9668, allocations: 2.501 MB / 0.6361 GB, free: 1.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004867/0.9716, allocations: 4.134 MB / 0.6401 GB, free: 12.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.982, allocations: 7.195 MB / 0.6471 GB, free: 4.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.369e-05/0.9821, allocations: 16 kB / 0.6472 GB, free: 4.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01438/0.9965, allocations: 7.983 MB / 0.655 GB, free: 12.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.9965, allocations: 26.03 kB / 0.655 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.125e-05/0.9966, allocations: 56 kB / 0.655 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/0.9999, allocations: 1.191 MB / 0.6562 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004207/1.004, allocations: 1.139 MB / 0.6573 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/1.021, allocations: 10.66 MB / 0.6677 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/1.024, allocations: 263.7 kB / 0.668 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/1.024, allocations: 239.9 kB / 0.6682 GB, free: 14.81 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.004759/1.029, allocations: 2.952 MB / 0.6711 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007847/1.03, allocations: 353.8 kB / 0.6714 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.042, allocations: 6.637 MB / 0.6779 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/1.042, allocations: 40 kB / 0.6779 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.042, allocations: 12 kB / 0.6779 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-05/1.042, allocations: 19.92 kB / 0.678 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02437/1.067, allocations: 13.08 MB / 0.6907 GB, free: 7.633 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/1.067, allocations: 8 kB / 0.6907 GB, free: 7.625 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/1.07, allocations: 0.7574 MB / 0.6915 GB, free: 6.867 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/1.073, allocations: 1.089 MB / 0.6925 GB, free: 5.77 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/1.073, allocations: 104 kB / 0.6926 GB, free: 5.668 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/1.088, allocations: 9.6 MB / 0.702 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.088, allocations: 4 kB / 0.702 GB, free: 11.87 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.104, allocations: 9.958 MB / 0.7117 GB, free: 1.785 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/1.107, allocations: 0.8606 MB / 0.7126 GB, free: 0.9219 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/1.107, allocations: 76 kB / 0.7127 GB, free: 0.8477 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/1.109, allocations: 203.8 kB / 0.7129 GB, free: 0.6484 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006569/1.11, allocations: 315.1 kB / 0.7132 GB, free: 348 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002794/1.11, allocations: 132 kB / 0.7133 GB, free: 216 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002785/1.113, allocations: 1.79 MB / 0.715 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/1.113, allocations: 0 / 0.715 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004402/1.117, allocations: 1.383 MB / 0.7164 GB, free: 13.03 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.0005936/1.118, allocations: 274 kB / 0.7166 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.13, allocations: 6.468 MB / 0.723 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/1.13, allocations: 0 / 0.723 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006061/1.136, allocations: 3.307 MB / 0.7262 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/1.139, allocations: 0.7384 MB / 0.7269 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/1.163, allocations: 14.22 MB / 0.7408 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2383/1.401, allocations: 4.595 MB / 0.7453 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004552/1.405, allocations: 1.584 MB / 0.7468 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/1.406, allocations: 320.5 kB / 0.7471 GB, free: 180.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.406, allocations: 7.234 kB / 0.7471 GB, free: 180.6 MB / 0.545 GB Notification: Performance of Templates: time 0.0841/1.49, allocations: 65.04 MB / 0.8107 GB, free: 134.6 MB / 0.545 GB " [Timeout remaining time 659] 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: 7.950837862212211]