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.001123/0.001123, allocations: 91.62 kB / 21.44 MB, free: 3.102 MB / 18.57 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.0009657/0.0009657, allocations: 159.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8846/0.8846, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.953e-06/1.953e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.882e-05, allocations: 4.953 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01916/0.0192, allocations: 18.64 MB / 344.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.0321, allocations: 6.516 MB / 351 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004415/0.03652, allocations: 171.2 kB / 351.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.04682, allocations: 6.729 MB / 357.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008294/0.05511, allocations: 2.861 MB / 360.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.05895, allocations: 1.548 MB / 362.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.07086, allocations: 9.459 MB / 371.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.08583, allocations: 10.93 MB / 382.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01301/0.09884, allocations: 6.985 MB / 389.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007767/0.1066, allocations: 4.479 MB / 394.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00387/0.1105, allocations: 1.352 MB / 395.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/0.1156, allocations: 1.695 MB / 397.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003687/0.1193, allocations: 2.669 MB / 399.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007543/0.1268, allocations: 3.326 MB / 403.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0191/0.1459, allocations: 18.55 MB / 421.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1459, allocations: 0 / 421.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1459, allocations: 0 / 421.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005618/0.1465, allocations: 0 / 421.8 MB, free: 15.1 MB / 394.7 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.02545/0.172, allocations: 10.57 MB / 432.4 MB, free: 4.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.172, allocations: 12.03 kB / 432.4 MB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.1906, allocations: 5.907 MB / 438.3 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.2029, allocations: 5.788 MB / 444.1 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/0.2035, allocations: 0.554 MB / 444.6 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/0.2077, allocations: 0.7342 MB / 445.4 MB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.302/0.5098, allocations: 13.03 MB / 458.4 MB, free: 99.2 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.5099, allocations: 13.11 kB / 458.4 MB, free: 99.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006922/0.5106, allocations: 310.1 kB / 458.7 MB, free: 98.96 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003736/0.511, allocations: 494.5 kB / 459.2 MB, free: 98.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.5272, allocations: 12.56 MB / 471.7 MB, free: 93.62 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03959/0.5668, allocations: 35.99 MB / 0.4958 GB, free: 57.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007208/0.574, allocations: 8.524 MB / 0.5041 GB, free: 50.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.5765, allocations: 2.921 MB / 0.507 GB, free: 47.49 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.5767, allocations: 95.14 kB / 0.5071 GB, free: 47.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5768, allocations: 73.78 kB / 0.5072 GB, free: 47.31 MB / 410.8 MB Notification: Performance of pre-optimization done (n=410): time 6.061e-06/0.5768, allocations: 0 / 0.5072 GB, free: 47.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=415): time 0.02017/0.5969, allocations: 16.74 MB / 0.5235 GB, free: 30.87 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.597, allocations: 94.67 kB / 0.5236 GB, free: 30.76 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.5995, allocations: 2.694 MB / 0.5262 GB, free: 28.11 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.5998, allocations: 89.7 kB / 0.5263 GB, free: 28.02 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.6006, allocations: 3.143 MB / 0.5294 GB, free: 24.99 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006329/0.6012, allocations: 1.443 MB / 0.5308 GB, free: 23.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008014/0.602, allocations: 0.9465 MB / 0.5317 GB, free: 22.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.848e-05/0.6021, allocations: 313.1 kB / 0.532 GB, free: 22.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.6042, allocations: 2.501 MB / 0.5345 GB, free: 19.79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.6066, allocations: 4.138 MB / 0.5385 GB, free: 14.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/0.6116, allocations: 7.187 MB / 0.5455 GB, free: 7.023 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.6116, allocations: 16 kB / 0.5455 GB, free: 7.008 MB / 410.8 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008292/0.6199, allocations: 7.975 MB / 0.5533 GB, free: 15 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.62, allocations: 35.88 kB / 0.5534 GB, free: 14.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.164e-05/0.62, allocations: 52 kB / 0.5534 GB, free: 14.92 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.6221, allocations: 1.187 MB / 0.5546 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.6248, allocations: 1.135 MB / 0.5557 GB, free: 12.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.6353, allocations: 10.67 MB / 0.5661 GB, free: 1.711 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.6381, allocations: 275.8 kB / 0.5664 GB, free: 1.441 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004212/0.6386, allocations: 232 kB / 0.5666 GB, free: 1.215 MB / 426.8 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.004389/0.6429, allocations: 2.955 MB / 0.5695 GB, free: 14.25 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/0.6436, allocations: 349.8 kB / 0.5698 GB, free: 13.91 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/0.6512, allocations: 6.625 MB / 0.5763 GB, free: 7.242 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.6512, allocations: 44 kB / 0.5763 GB, free: 7.199 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.6513, allocations: 8 kB / 0.5763 GB, free: 7.191 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.6513, allocations: 27.89 kB / 0.5763 GB, free: 7.164 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.6672, allocations: 13.08 MB / 0.5891 GB, free: 10.03 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.6672, allocations: 8.031 kB / 0.5891 GB, free: 10.02 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.6688, allocations: 0.7528 MB / 0.5899 GB, free: 9.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.6708, allocations: 1.089 MB / 0.5909 GB, free: 8.172 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/0.671, allocations: 99.97 kB / 0.591 GB, free: 8.074 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008534/0.6796, allocations: 9.603 MB / 0.6004 GB, free: 14.28 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6796, allocations: 11.94 kB / 0.6004 GB, free: 14.27 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/0.6905, allocations: 9.938 MB / 0.6101 GB, free: 4.199 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.6921, allocations: 0.8606 MB / 0.611 GB, free: 3.336 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.6924, allocations: 87.92 kB / 0.611 GB, free: 3.25 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6937, allocations: 199.8 kB / 0.6112 GB, free: 3.055 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004739/0.6942, allocations: 319.1 kB / 0.6115 GB, free: 2.742 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.6943, allocations: 128 kB / 0.6117 GB, free: 2.617 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001975/0.6963, allocations: 1.794 MB / 0.6134 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6963, allocations: 0 / 0.6134 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.003469/0.6998, allocations: 1.379 MB / 0.6148 GB, free: 15.43 MB / 490.8 MB 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.000496/0.7003, allocations: 270.3 kB / 0.615 GB, free: 15.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007727/0.708, allocations: 6.476 MB / 0.6213 GB, free: 8.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.708, allocations: 0 / 0.6213 GB, free: 8.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00377/0.7118, allocations: 3.306 MB / 0.6246 GB, free: 5.332 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.7142, allocations: 0.7341 MB / 0.6253 GB, free: 4.617 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/0.8986, allocations: 13.91 MB / 0.6389 GB, free: 170.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00372/0.9023, allocations: 4.46 MB / 0.6432 GB, free: 169.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.9036, allocations: 359.7 kB / 0.6436 GB, free: 169.9 MB / 490.8 MB Notification: Performance of SimCode: time 1.984e-06/0.9036, allocations: 0 / 0.6436 GB, free: 169.9 MB / 490.8 MB Notification: Performance of Templates: time 0.3147/1.218, allocations: 178 MB / 0.8173 GB, free: 161.5 MB / 490.8 MB " [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: 9.874767884612083]