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.001867/0.001867, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.0014/0.0014, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.001574/0.001574, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2148, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02362/0.2385, allocations: 18.62 MB / 451 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.2505, allocations: 6.501 MB / 457.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.2519, allocations: 175.1 kB / 457.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01484/0.2667, allocations: 6.382 MB / 464 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006657/0.2734, allocations: 2.82 MB / 466.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.2768, allocations: 1.561 MB / 468.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.2874, allocations: 9.173 MB / 477.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/0.3025, allocations: 11.07 MB / 488.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/0.3084, allocations: 4.777 MB / 493.4 MB, free: 9.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.3151, allocations: 5.237 MB / 498.7 MB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.3168, allocations: 1.355 MB / 0.4883 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.3196, allocations: 1.683 MB / 0.49 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.322, allocations: 2.63 MB / 0.4925 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004203/0.3262, allocations: 3.833 MB / 0.4963 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.3441, allocations: 18.33 MB / 0.5142 GB, free: 8.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3441, allocations: 0 / 0.5142 GB, free: 8.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3441, allocations: 0 / 0.5142 GB, free: 8.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001999/0.3443, allocations: 0 / 0.5142 GB, free: 8.16 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.02732/0.3717, allocations: 10.66 MB / 0.5246 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3717, allocations: 8.031 kB / 0.5246 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03428/0.406, allocations: 5.903 MB / 0.5304 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.4181, allocations: 5.772 MB / 0.536 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004738/0.4186, allocations: 0.5579 MB / 0.5365 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.42, allocations: 0.7381 MB / 0.5373 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2336/0.6536, allocations: 13.03 MB / 0.55 GB, free: 85.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001785/0.6538, allocations: 9.75 kB / 0.55 GB, free: 85.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008097/0.6546, allocations: 306.6 kB / 0.5503 GB, free: 85.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/0.655, allocations: 498.8 kB / 0.5508 GB, free: 85.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.6714, allocations: 12.55 MB / 0.563 GB, free: 75.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04174/0.7131, allocations: 35.98 MB / 0.5982 GB, free: 39.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.7244, allocations: 8.509 MB / 0.6065 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.7278, allocations: 2.917 MB / 0.6093 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.7281, allocations: 99.12 kB / 0.6094 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.7281, allocations: 77.78 kB / 0.6095 GB, free: 28.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.993e-06/0.7281, allocations: 0 / 0.6095 GB, free: 28.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.02991/0.758, allocations: 16.73 MB / 0.6258 GB, free: 12.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.758, allocations: 94.67 kB / 0.6259 GB, free: 12.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.7608, allocations: 2.694 MB / 0.6286 GB, free: 9.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.761, allocations: 101.6 kB / 0.6286 GB, free: 9.586 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.762, allocations: 3.151 MB / 0.6317 GB, free: 6.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00071/0.7628, allocations: 1.458 MB / 0.6332 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.7639, allocations: 0.9583 MB / 0.6341 GB, free: 4.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.927e-05/0.764, allocations: 301.1 kB / 0.6344 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/0.767, allocations: 2.505 MB / 0.6368 GB, free: 1.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/0.772, allocations: 4.139 MB / 0.6409 GB, free: 12.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.7822, allocations: 7.199 MB / 0.6479 GB, free: 4.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-05/0.7822, allocations: 12 kB / 0.6479 GB, free: 4.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01449/0.7967, allocations: 7.974 MB / 0.6557 GB, free: 12.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.7967, allocations: 27.98 kB / 0.6557 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-05/0.7968, allocations: 56 kB / 0.6558 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/0.8003, allocations: 1.191 MB / 0.6569 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.8047, allocations: 1.135 MB / 0.658 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.8212, allocations: 10.66 MB / 0.6685 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.824, allocations: 263.8 kB / 0.6687 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/0.8244, allocations: 247.9 kB / 0.6689 GB, free: 14.76 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.004551/0.829, allocations: 2.948 MB / 0.6718 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007025/0.8297, allocations: 353.8 kB / 0.6722 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.8423, allocations: 6.621 MB / 0.6786 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.214e-05/0.8424, allocations: 23.92 kB / 0.6786 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.8424, allocations: 0 / 0.6786 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/0.8446, allocations: 0.8528 MB / 0.6795 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.8451, allocations: 83.88 kB / 0.6796 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.8468, allocations: 195.8 kB / 0.6797 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/0.8474, allocations: 322.8 kB / 0.6801 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0122/0.8596, allocations: 6.359 MB / 0.6863 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01259/0.8722, allocations: 8.115 MB / 0.6942 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00362/0.8758, allocations: 2.393 MB / 0.6965 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002846/0.8786, allocations: 1.786 MB / 0.6983 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of Backend: time 3.2e-07/0.8786, allocations: 4 kB / 0.6983 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009718/0.8884, allocations: 4.576 MB / 0.7027 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of SimCode: time 0.02136/0.9097, allocations: 12.96 MB / 0.7154 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.2917/1.201, allocations: 79.29 MB / 0.7928 GB, free: 157.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/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: 7.2144760160008445]