Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0009685/0.0009685, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.001102/0.001102, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9173/0.9173, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.468e-05, allocations: 5.938 kB / 299.8 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01643/0.01645, allocations: 21.54 MB / 321.3 MB, free: 1.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.02992, allocations: 7.432 MB / 328.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004151/0.03407, allocations: 183.1 kB / 328.9 MB, free: 9.566 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01031/0.04437, allocations: 8.263 MB / 337.2 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007884/0.05226, allocations: 3.138 MB / 340.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.05595, allocations: 1.807 MB / 342.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.06864, allocations: 11.69 MB / 353.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1697/0.2383, allocations: 14.54 MB / 368.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/0.2527, allocations: 8.99 MB / 377.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008221/0.2609, allocations: 5.72 MB / 383.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003922/0.2648, allocations: 1.725 MB / 384.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.2699, allocations: 2.128 MB / 386.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003623/0.2735, allocations: 3.522 MB / 390.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006524/0.28, allocations: 4.287 MB / 394.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01914/0.2992, allocations: 23.49 MB / 418.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2992, allocations: 0 / 418.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2992, allocations: 4.562 kB / 418.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000566/0.2997, allocations: 4 kB / 418.2 MB, free: 1.578 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03028/0.33, allocations: 13.61 MB / 431.9 MB, free: 4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3301, allocations: 15.98 kB / 431.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.351, allocations: 7.306 MB / 439.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.363, allocations: 6.586 MB / 445.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006122/0.3636, allocations: 0.7309 MB / 446.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004151/0.3678, allocations: 0.957 MB / 447.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03912/0.4069, allocations: 16.74 MB / 464.2 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003525/0.4072, allocations: 15.94 kB / 464.2 MB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003229/0.4104, allocations: 402.8 kB / 464.6 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004656/0.4109, allocations: 0.5869 MB / 465.2 MB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03034/0.4413, allocations: 15.72 MB / 480.9 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07557/0.5168, allocations: 46.3 MB / 0.5149 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3012/0.818, allocations: 9.299 MB / 0.5239 GB, free: 149.3 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005028/0.823, allocations: 3.464 MB / 0.5273 GB, free: 148.9 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/0.836, allocations: 10.14 MB / 0.5372 GB, free: 144.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.836, allocations: 72.83 kB / 0.5373 GB, free: 144.5 MB / 458.8 MB Notification: Performance of pre-optimization done (n=357): time 5.61e-06/0.8361, allocations: 0 / 0.5373 GB, free: 144.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=362): time 0.02321/0.8593, allocations: 17.18 MB / 0.5541 GB, free: 138.1 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.8593, allocations: 90.75 kB / 0.5542 GB, free: 138 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.864, allocations: 4.676 MB / 0.5587 GB, free: 135.9 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.8643, allocations: 89.7 kB / 0.5588 GB, free: 135.9 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.8658, allocations: 4.618 MB / 0.5633 GB, free: 132.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008157/0.8666, allocations: 1.295 MB / 0.5646 GB, free: 131 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.8678, allocations: 1.178 MB / 0.5657 GB, free: 129.9 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.8678, allocations: 313.1 kB / 0.566 GB, free: 129.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.8705, allocations: 2.888 MB / 0.5688 GB, free: 127.2 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.8736, allocations: 5.282 MB / 0.574 GB, free: 121.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007118/0.8807, allocations: 8.624 MB / 0.5824 GB, free: 111.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.996e-05/0.8808, allocations: 20 kB / 0.5824 GB, free: 111.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0113/0.8921, allocations: 9.552 MB / 0.5918 GB, free: 101.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/0.8922, allocations: 39.94 kB / 0.5918 GB, free: 101.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.8923, allocations: 80 kB / 0.5919 GB, free: 101.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.8948, allocations: 1.405 MB / 0.5933 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/0.899, allocations: 1.334 MB / 0.5946 GB, free: 99.07 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.9097, allocations: 12.06 MB / 0.6063 GB, free: 86.81 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/0.9152, allocations: 371.6 kB / 0.6067 GB, free: 86.45 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001841/0.917, allocations: 300 kB / 0.607 GB, free: 86.16 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007671/0.9247, allocations: 3.919 MB / 0.6108 GB, free: 82.22 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/0.9257, allocations: 453.1 kB / 0.6112 GB, free: 81.78 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008217/0.934, allocations: 6.681 MB / 0.6178 GB, free: 75.05 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006379/0.9403, allocations: 5.51 MB / 0.6231 GB, free: 69.51 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/0.9404, allocations: 12 kB / 0.6232 GB, free: 69.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.9404, allocations: 23.92 kB / 0.6232 GB, free: 69.47 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/0.9654, allocations: 13.03 MB / 0.6359 GB, free: 56.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.9654, allocations: 4 kB / 0.6359 GB, free: 56.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.9673, allocations: 0.6637 MB / 0.6365 GB, free: 55.73 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/0.9696, allocations: 1.27 MB / 0.6378 GB, free: 54.46 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006284/0.9702, allocations: 95.89 kB / 0.6379 GB, free: 54.36 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009725/0.98, allocations: 10.96 MB / 0.6486 GB, free: 43.21 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.98, allocations: 7.938 kB / 0.6486 GB, free: 43.21 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.9928, allocations: 9.913 MB / 0.6583 GB, free: 33.16 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/0.9957, allocations: 0.9654 MB / 0.6592 GB, free: 32.19 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/0.9967, allocations: 68 kB / 0.6593 GB, free: 32.12 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.9985, allocations: 215.8 kB / 0.6595 GB, free: 31.91 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006089/0.9991, allocations: 290.9 kB / 0.6598 GB, free: 31.62 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/0.9993, allocations: 108 kB / 0.6599 GB, free: 31.52 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004265/1.004, allocations: 3.068 MB / 0.6629 GB, free: 28.44 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/1.004, allocations: 4 kB / 0.6629 GB, free: 28.44 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009309/1.013, allocations: 1.68 MB / 0.6645 GB, free: 26.76 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/1.015, allocations: 0.5282 MB / 0.665 GB, free: 26.25 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.025, allocations: 7.21 MB / 0.6721 GB, free: 19.01 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.025, allocations: 2 kB / 0.6721 GB, free: 19.01 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006026/1.031, allocations: 3.355 MB / 0.6753 GB, free: 15.63 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/1.037, allocations: 0.926 MB / 0.6762 GB, free: 14.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2155/1.252, allocations: 17.75 MB / 0.6936 GB, free: 145.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007877/1.26, allocations: 5.935 MB / 0.6994 GB, free: 144.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.262, allocations: 399 kB / 0.6998 GB, free: 144.7 MB / 458.8 MB Notification: Performance of SimCode: time 1.993e-06/1.262, allocations: 0 / 0.6998 GB, free: 144.7 MB / 458.8 MB Notification: Performance of Templates: time 0.4497/1.711, allocations: 230.4 MB / 0.9248 GB, free: 121.8 MB / 474.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 13.203010170720518]