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.001336/0.001336, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001579/0.001579, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.05 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.001847/0.001847, allocations: 43.92 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1426, allocations: 53.34 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2816/0.4243, allocations: 21.64 MB / 449.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.4436, allocations: 6.81 MB / 456 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005738/0.4493, allocations: 172.4 kB / 456.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01904/0.4684, allocations: 6.912 MB / 463.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.4804, allocations: 2.803 MB / 465.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.4866, allocations: 1.568 MB / 467.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01677/0.5033, allocations: 9.079 MB / 476.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02851/0.5318, allocations: 13.06 MB / 489.6 MB, free: 2.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.5426, allocations: 4.73 MB / 494.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.5533, allocations: 5.229 MB / 499.5 MB, free: 8.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004351/0.5577, allocations: 1.352 MB / 0.4891 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006485/0.5642, allocations: 1.695 MB / 0.4908 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005132/0.5693, allocations: 2.619 MB / 0.4933 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.5803, allocations: 4.966 MB / 0.4982 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02952/0.6098, allocations: 18.25 MB / 0.516 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6098, allocations: 8 kB / 0.516 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6098, allocations: 0 / 0.516 GB, free: 11.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005533/0.6104, allocations: 0 / 0.516 GB, free: 11.62 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.03621/0.6466, allocations: 10.73 MB / 0.5265 GB, free: 0.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6467, allocations: 15.97 kB / 0.5265 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03563/0.6823, allocations: 5.895 MB / 0.5323 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.696, allocations: 5.742 MB / 0.5379 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/0.6967, allocations: 0.5579 MB / 0.5384 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003605/0.7003, allocations: 0.7381 MB / 0.5392 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/0.736, allocations: 12.89 MB / 0.5517 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000412/0.7365, allocations: 11.89 kB / 0.5518 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003022/0.7395, allocations: 312 kB / 0.552 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006604/0.7401, allocations: 492.1 kB / 0.5525 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03107/0.7712, allocations: 12.63 MB / 0.5648 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08646/0.8577, allocations: 41.54 MB / 0.6054 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2515/1.109, allocations: 25.86 MB / 0.6307 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005946/1.115, allocations: 2.918 MB / 0.6335 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/1.116, allocations: 271.4 kB / 0.6338 GB, free: 137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/1.116, allocations: 76.25 kB / 0.6338 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 6.272e-06/1.116, allocations: 0 / 0.6338 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.04229/1.158, allocations: 17.09 MB / 0.6505 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/1.158, allocations: 95.55 kB / 0.6506 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/1.163, allocations: 2.845 MB / 0.6534 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008151/1.163, allocations: 91.92 kB / 0.6535 GB, free: 130 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.165, allocations: 3.143 MB / 0.6566 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.167, allocations: 1.465 MB / 0.658 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/1.168, allocations: 0.9559 MB / 0.6589 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/1.168, allocations: 305.1 kB / 0.6592 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/1.172, allocations: 2.51 MB / 0.6617 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004523/1.177, allocations: 4.112 MB / 0.6657 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008046/1.185, allocations: 7.215 MB / 0.6727 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.04e-05/1.185, allocations: 11.41 kB / 0.6727 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01298/1.198, allocations: 8.029 MB / 0.6806 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/1.198, allocations: 26.28 kB / 0.6806 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.693e-05/1.198, allocations: 48.81 kB / 0.6807 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003297/1.201, allocations: 1.235 MB / 0.6819 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/1.205, allocations: 1.138 MB / 0.683 GB, free: 114 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/1.218, allocations: 11.24 MB / 0.6939 GB, free: 104.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/1.223, allocations: 271.8 kB / 0.6942 GB, free: 104 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008612/1.223, allocations: 232 kB / 0.6944 GB, free: 103.8 MB / 0.5137 GB 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.004533/1.228, allocations: 2.953 MB / 0.6973 GB, free: 100.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009847/1.229, allocations: 365.6 kB / 0.6977 GB, free: 100.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.239, allocations: 6.678 MB / 0.7042 GB, free: 93.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.239, allocations: 44 kB / 0.7042 GB, free: 93.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.239, allocations: 12 kB / 0.7042 GB, free: 93.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/1.239, allocations: 19.92 kB / 0.7043 GB, free: 93.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.261, allocations: 14.87 MB / 0.7188 GB, free: 78.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.261, allocations: 4 kB / 0.7188 GB, free: 78.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.264, allocations: 0.7574 MB / 0.7195 GB, free: 78.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.267, allocations: 1.126 MB / 0.7206 GB, free: 76.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/1.267, allocations: 99.95 kB / 0.7207 GB, free: 76.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/1.279, allocations: 10.16 MB / 0.7306 GB, free: 66.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.279, allocations: 16.09 kB / 0.7306 GB, free: 66.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/1.292, allocations: 10.01 MB / 0.7404 GB, free: 56.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/1.294, allocations: 0.9436 MB / 0.7413 GB, free: 55.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007342/1.295, allocations: 91.92 kB / 0.7414 GB, free: 55.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.297, allocations: 199.8 kB / 0.7416 GB, free: 55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/1.298, allocations: 295.3 kB / 0.7419 GB, free: 54.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.298, allocations: 134 kB / 0.742 GB, free: 54.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002507/1.3, allocations: 1.959 MB / 0.7439 GB, free: 52.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.3, allocations: 3.844 kB / 0.7439 GB, free: 52.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005354/1.306, allocations: 1.394 MB / 0.7453 GB, free: 51.22 MB / 0.5137 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.0006703/1.306, allocations: 266 kB / 0.7456 GB, free: 50.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009907/1.316, allocations: 6.489 MB / 0.7519 GB, free: 44.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.316, allocations: 3.953 kB / 0.7519 GB, free: 44.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005688/1.322, allocations: 3.321 MB / 0.7551 GB, free: 41.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/1.326, allocations: 0.8333 MB / 0.756 GB, free: 40.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.349, allocations: 13.97 MB / 0.7696 GB, free: 26.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/1.353, allocations: 4.943 MB / 0.7744 GB, free: 21.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.355, allocations: 367.3 kB / 0.7748 GB, free: 20.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.974e-06/1.355, allocations: 0 / 0.7748 GB, free: 20.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.4434/1.798, allocations: 177.4 MB / 0.948 GB, free: 73.41 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/jenkins1/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/jenkins1/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: 17.457067059003748]