Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002603/0.002603, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003066/0.003066, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.3 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.638e-05, allocations: 3.578 kB / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1602/0.1602, allocations: 24.25 MB / 296.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.1763, allocations: 7.967 MB / 304.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005453/0.1818, allocations: 217.4 kB / 304.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01822/0.2, allocations: 8.926 MB / 313.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009971/0.21, allocations: 3.159 MB / 316.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.2148, allocations: 1.846 MB / 318.6 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01529/0.2301, allocations: 11.7 MB / 330.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02845/0.2585, allocations: 14.52 MB / 344.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0195/0.278, allocations: 8.952 MB / 353.8 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.292, allocations: 6.219 MB / 360 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004699/0.2967, allocations: 1.715 MB / 361.7 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007262/0.3039, allocations: 2.159 MB / 363.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006244/0.3102, allocations: 3.515 MB / 367.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01116/0.3213, allocations: 4.281 MB / 371.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03641/0.3578, allocations: 23.64 MB / 395.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3578, allocations: 0 / 395.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3578, allocations: 0 / 395.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005572/0.3583, allocations: 0 / 395.3 MB, free: 7.695 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.06568/0.424, allocations: 15.57 MB / 410.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.4241, allocations: 11.98 kB / 410.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04995/0.474, allocations: 7.841 MB / 418.8 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/0.493, allocations: 7.026 MB / 425.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009097/0.4939, allocations: 0.7301 MB / 426.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/0.4977, allocations: 0.9452 MB / 427.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.271/0.7688, allocations: 16.63 MB / 444.1 MB, free: 100.9 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003308/0.7691, allocations: 7.172 kB / 444.1 MB, free: 100.9 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002547/0.7716, allocations: 402.9 kB / 444.5 MB, free: 100.6 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005758/0.7722, allocations: 0.5601 MB / 445.1 MB, free: 100.6 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/0.8006, allocations: 13.41 MB / 458.5 MB, free: 95.43 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/0.9072, allocations: 104.8 MB / 0.55 GB, free: 5.805 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.9251, allocations: 8 MB / 0.5579 GB, free: 14.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/0.9313, allocations: 2.881 MB / 0.5607 GB, free: 11.69 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/0.9318, allocations: 147.4 kB / 0.5608 GB, free: 11.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/0.9318, allocations: 80.89 kB / 0.5609 GB, free: 11.45 MB / 410.8 MB Notification: Performance of pre-optimization done (n=447): time 7.675e-06/0.9318, allocations: 0 / 0.5609 GB, free: 11.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=452): time 0.05472/0.9866, allocations: 18.26 MB / 0.5787 GB, free: 9.543 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.9867, allocations: 98.95 kB / 0.5788 GB, free: 9.434 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/0.9967, allocations: 5.845 MB / 0.5845 GB, free: 3.695 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007059/0.9974, allocations: 97.7 kB / 0.5846 GB, free: 3.594 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1419/1.139, allocations: 4.909 MB / 0.5894 GB, free: 127.4 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002093/1.141, allocations: 1.842 MB / 0.5912 GB, free: 126.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002554/1.144, allocations: 1.601 MB / 0.5928 GB, free: 126.8 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/1.144, allocations: 477.9 kB / 0.5932 GB, free: 126.3 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004189/1.148, allocations: 2.502 MB / 0.5957 GB, free: 126.3 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/1.154, allocations: 6.011 MB / 0.6016 GB, free: 122.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00979/1.164, allocations: 9.613 MB / 0.6109 GB, free: 118.5 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/1.164, allocations: 22.72 kB / 0.611 GB, free: 118.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01453/1.178, allocations: 9.081 MB / 0.6198 GB, free: 117.5 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/1.178, allocations: 33.78 kB / 0.6199 GB, free: 117.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/1.179, allocations: 74.22 kB / 0.6199 GB, free: 117.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/1.183, allocations: 1.585 MB / 0.6215 GB, free: 117.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/1.188, allocations: 1.381 MB / 0.6228 GB, free: 117.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/1.203, allocations: 13.42 MB / 0.6359 GB, free: 108.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.208, allocations: 352.7 kB / 0.6363 GB, free: 108.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/1.209, allocations: 291.6 kB / 0.6365 GB, free: 108.6 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005546/1.214, allocations: 3.509 MB / 0.64 GB, free: 106.7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.216, allocations: 0.5947 MB / 0.6406 GB, free: 106.4 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.228, allocations: 8.563 MB / 0.6489 GB, free: 102.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007919/1.236, allocations: 5.324 MB / 0.6541 GB, free: 96.9 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/1.236, allocations: 12 kB / 0.6541 GB, free: 96.89 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/1.236, allocations: 23.91 kB / 0.6541 GB, free: 96.87 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.265, allocations: 19.03 MB / 0.6727 GB, free: 77.65 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.265, allocations: 8 kB / 0.6727 GB, free: 77.64 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/1.268, allocations: 0.8075 MB / 0.6735 GB, free: 76.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003952/1.272, allocations: 1.446 MB / 0.6749 GB, free: 75.38 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004642/1.272, allocations: 108 kB / 0.675 GB, free: 75.28 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.285, allocations: 12.37 MB / 0.6871 GB, free: 62.69 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.285, allocations: 14.44 kB / 0.6871 GB, free: 62.68 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/1.298, allocations: 9.643 MB / 0.6965 GB, free: 52.85 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.301, allocations: 0.9459 MB / 0.6975 GB, free: 51.91 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006474/1.302, allocations: 99.98 kB / 0.6976 GB, free: 51.81 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.304, allocations: 219.8 kB / 0.6978 GB, free: 51.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006396/1.304, allocations: 356.4 kB / 0.6981 GB, free: 51.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.305, allocations: 140 kB / 0.6983 GB, free: 51.11 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003639/1.308, allocations: 3.083 MB / 0.7013 GB, free: 48.05 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.308, allocations: 0 / 0.7013 GB, free: 48.05 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005607/1.314, allocations: 1.713 MB / 0.7029 GB, free: 46.34 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002955/1.317, allocations: 0.5634 MB / 0.7035 GB, free: 45.98 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.328, allocations: 7.465 MB / 0.7108 GB, free: 38.48 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.328, allocations: 4 kB / 0.7108 GB, free: 38.47 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006165/1.334, allocations: 3.69 MB / 0.7144 GB, free: 34.75 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/1.339, allocations: 0.9984 MB / 0.7154 GB, free: 33.78 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.364, allocations: 17.01 MB / 0.732 GB, free: 16.55 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004876/1.369, allocations: 5.532 MB / 0.7374 GB, free: 10.98 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.1367/1.505, allocations: 1.763 MB / 0.7391 GB, free: 107.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.507, allocations: 400.2 kB / 0.7395 GB, free: 107.7 MB / 426.8 MB Notification: Performance of SimCode: time 1.472e-06/1.507, allocations: 0.875 kB / 0.7395 GB, free: 107.7 MB / 426.8 MB Notification: Performance of Templates: time 0.1039/1.611, allocations: 66.34 MB / 0.8043 GB, free: 77.14 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.221947484998964]