Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_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=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 108.3 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001017, allocations: 55.17 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09375, allocations: 49.43 MB / 351.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1962/0.29, allocations: 24.82 MB / 376.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.3051, allocations: 7.828 MB / 384.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006008/0.3112, allocations: 177.9 kB / 384.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01794/0.3292, allocations: 8.369 MB / 392.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009716/0.3389, allocations: 2.984 MB / 395.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.3435, allocations: 1.81 MB / 397.5 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01289/0.3564, allocations: 11.1 MB / 408.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03116/0.3876, allocations: 23.31 MB / 431.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009679/0.3973, allocations: 5.899 MB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01107/0.4084, allocations: 6.428 MB / 444.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004556/0.413, allocations: 1.719 MB / 446 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007145/0.4202, allocations: 2.125 MB / 448.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00531/0.4255, allocations: 3.394 MB / 451.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01341/0.439, allocations: 6.354 MB / 457.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02755/0.4665, allocations: 23.11 MB / 480.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4666, allocations: 0 / 480.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4666, allocations: 0 / 480.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006569/0.4672, allocations: 0 / 480.9 MB, free: 3.852 MB / 382.1 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.04263/0.5099, allocations: 13.38 MB / 494.3 MB, free: 6.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.51, allocations: 8.031 kB / 494.3 MB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03548/0.5454, allocations: 6.263 MB / 0.4889 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.562, allocations: 7.259 MB / 0.496 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007089/0.5627, allocations: 0.7224 MB / 0.4967 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/0.5665, allocations: 0.9374 MB / 0.4976 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/0.6009, allocations: 16.13 MB / 0.5133 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002664/0.6012, allocations: 23.8 kB / 0.5133 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/0.6032, allocations: 396 kB / 0.5137 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005449/0.6038, allocations: 0.5591 MB / 0.5143 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3524/0.9562, allocations: 15.1 MB / 0.529 GB, free: 115.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08455/1.041, allocations: 52 MB / 0.5798 GB, free: 79.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.058, allocations: 20.1 MB / 0.5994 GB, free: 57.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/1.063, allocations: 3.635 MB / 0.603 GB, free: 54.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/1.063, allocations: 179.6 kB / 0.6031 GB, free: 53.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.425e-05/1.063, allocations: 82.05 kB / 0.6032 GB, free: 53.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=447): time 6.682e-06/1.063, allocations: 3.219 kB / 0.6032 GB, free: 53.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.04903/1.112, allocations: 20.63 MB / 0.6234 GB, free: 33.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.113, allocations: 106.9 kB / 0.6235 GB, free: 33.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007498/1.12, allocations: 4.489 MB / 0.6279 GB, free: 28.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005791/1.121, allocations: 101.7 kB / 0.628 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.123, allocations: 4.187 MB / 0.6321 GB, free: 24.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.124, allocations: 1.534 MB / 0.6335 GB, free: 22.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002659/1.127, allocations: 1.196 MB / 0.6347 GB, free: 21.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/1.127, allocations: 305.1 kB / 0.635 GB, free: 21.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004266/1.131, allocations: 3.069 MB / 0.638 GB, free: 18.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005237/1.136, allocations: 5.208 MB / 0.6431 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009701/1.146, allocations: 8.871 MB / 0.6518 GB, free: 2.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-05/1.146, allocations: 20 kB / 0.6518 GB, free: 2.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01772/1.164, allocations: 9.854 MB / 0.6614 GB, free: 8.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.034e-05/1.164, allocations: 36 kB / 0.6614 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.164, allocations: 71.98 kB / 0.6615 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/1.168, allocations: 1.403 MB / 0.6629 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005242/1.173, allocations: 1.388 MB / 0.6642 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/1.192, allocations: 12.66 MB / 0.6766 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/1.198, allocations: 355.5 kB / 0.6769 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/1.199, allocations: 296 kB / 0.6772 GB, free: 7.703 MB / 462.1 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.008935/1.208, allocations: 3.889 MB / 0.681 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/1.21, allocations: 466.2 kB / 0.6815 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.226, allocations: 8.503 MB / 0.6898 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01062/1.237, allocations: 6.248 MB / 0.6959 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/1.237, allocations: 12 kB / 0.6959 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/1.237, allocations: 23.92 kB / 0.6959 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2508/1.488, allocations: 17.39 MB / 0.7129 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.488, allocations: 7.844 kB / 0.7129 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003734/1.492, allocations: 0.8086 MB / 0.7137 GB, free: 148.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003915/1.496, allocations: 1.28 MB / 0.7149 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007043/1.496, allocations: 106.8 kB / 0.715 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.51, allocations: 11.56 MB / 0.7263 GB, free: 141.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.51, allocations: 11.66 kB / 0.7263 GB, free: 141.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/1.525, allocations: 11.19 MB / 0.7373 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003008/1.528, allocations: 1.086 MB / 0.7383 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008892/1.529, allocations: 91.59 kB / 0.7384 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.531, allocations: 238 kB / 0.7386 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006737/1.532, allocations: 328.7 kB / 0.7389 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/1.532, allocations: 134.8 kB / 0.7391 GB, free: 135.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004192/1.537, allocations: 3.111 MB / 0.7421 GB, free: 134.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.167e-05/1.537, allocations: 0 / 0.7421 GB, free: 134.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007943/1.545, allocations: 1.724 MB / 0.7438 GB, free: 134.6 MB / 478.1 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.001839/1.546, allocations: 0.551 MB / 0.7443 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01095/1.557, allocations: 7.978 MB / 0.7521 GB, free: 127.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.557, allocations: 0 / 0.7521 GB, free: 127.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005636/1.563, allocations: 3.93 MB / 0.756 GB, free: 124.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/1.568, allocations: 1.052 MB / 0.757 GB, free: 123.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/1.6, allocations: 18.02 MB / 0.7746 GB, free: 106.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009167/1.609, allocations: 6.512 MB / 0.7809 GB, free: 100.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005031/1.614, allocations: 2.123 MB / 0.783 GB, free: 98.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.615, allocations: 379.4 kB / 0.7834 GB, free: 97.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/1.615, allocations: 0 / 0.7834 GB, free: 97.93 MB / 478.1 MB Notification: Performance of Templates: time 0.1013/1.716, allocations: 69.5 MB / 0.8513 GB, free: 29.01 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches