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.001243/0.001243, allocations: 101 kB / 17.59 MB, free: 5.426 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.001273/0.001273, allocations: 191.3 kB / 18.52 MB, free: 4.5 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.41/1.41, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009889/0.0009889, allocations: 50.95 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09994, allocations: 49.45 MB / 350.8 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2156/0.3156, allocations: 24.81 MB / 375.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.3326, allocations: 7.833 MB / 383.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007096/0.3398, allocations: 178.1 kB / 383.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01947/0.3593, allocations: 8.355 MB / 391.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.3723, allocations: 2.994 MB / 394.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006493/0.3788, allocations: 1.813 MB / 396.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01709/0.3959, allocations: 11.02 MB / 407.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04411/0.4401, allocations: 23.49 MB / 431.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/0.456, allocations: 5.88 MB / 437.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01557/0.4716, allocations: 6.53 MB / 443.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006937/0.4786, allocations: 1.719 MB / 445.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.4908, allocations: 2.128 MB / 447.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008688/0.4996, allocations: 3.355 MB / 450.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0188/0.5184, allocations: 6.35 MB / 457.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03205/0.5505, allocations: 22.99 MB / 480.2 MB, free: 4.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.5506, allocations: 4 kB / 480.2 MB, free: 4.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5506, allocations: 0 / 480.2 MB, free: 4.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007042/0.5513, allocations: 0 / 480.2 MB, free: 4.387 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.04822/0.5996, allocations: 13.44 MB / 493.6 MB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.5996, allocations: 11.97 kB / 493.7 MB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03608/0.6357, allocations: 6.22 MB / 499.9 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/0.6525, allocations: 7.069 MB / 0.4951 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000776/0.6533, allocations: 0.7225 MB / 0.4958 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005354/0.6587, allocations: 0.9491 MB / 0.4967 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04762/0.7063, allocations: 16.13 MB / 0.5124 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005436/0.7069, allocations: 23.8 kB / 0.5125 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004337/0.7112, allocations: 400 kB / 0.5129 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006699/0.7119, allocations: 0.5553 MB / 0.5134 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4534/1.165, allocations: 15.09 MB / 0.5281 GB, free: 115.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0834/1.249, allocations: 52.65 MB / 0.5795 GB, free: 79.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/1.264, allocations: 20.1 MB / 0.5992 GB, free: 57.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004807/1.269, allocations: 3.632 MB / 0.6027 GB, free: 54.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/1.269, allocations: 187.9 kB / 0.6029 GB, free: 54.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/1.269, allocations: 82.06 kB / 0.603 GB, free: 54.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=447): time 7.694e-06/1.269, allocations: 0 / 0.603 GB, free: 54.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.04458/1.314, allocations: 20.62 MB / 0.6231 GB, free: 33.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.314, allocations: 98.94 kB / 0.6232 GB, free: 33.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005427/1.319, allocations: 4.497 MB / 0.6276 GB, free: 28.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003289/1.32, allocations: 97.7 kB / 0.6277 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/1.322, allocations: 4.19 MB / 0.6318 GB, free: 24.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009781/1.323, allocations: 1.539 MB / 0.6333 GB, free: 22.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.324, allocations: 1.188 MB / 0.6344 GB, free: 21.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/1.324, allocations: 317 kB / 0.6347 GB, free: 21.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003656/1.328, allocations: 3.061 MB / 0.6377 GB, free: 18.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.332, allocations: 5.218 MB / 0.6428 GB, free: 12.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008819/1.341, allocations: 8.86 MB / 0.6515 GB, free: 2.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-05/1.341, allocations: 20 kB / 0.6515 GB, free: 2.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01614/1.357, allocations: 9.864 MB / 0.6611 GB, free: 8.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/1.358, allocations: 36 kB / 0.6612 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/1.358, allocations: 68.34 kB / 0.6612 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003983/1.362, allocations: 1.411 MB / 0.6626 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005088/1.367, allocations: 1.388 MB / 0.664 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/1.385, allocations: 12.68 MB / 0.6764 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005906/1.39, allocations: 359.4 kB / 0.6767 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007176/1.391, allocations: 292 kB / 0.677 GB, free: 7.844 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.00717/1.398, allocations: 3.896 MB / 0.6808 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009885/1.399, allocations: 454.3 kB / 0.6812 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.413, allocations: 8.515 MB / 0.6895 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01003/1.423, allocations: 6.248 MB / 0.6956 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/1.423, allocations: 12 kB / 0.6956 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.075e-05/1.423, allocations: 23.91 kB / 0.6957 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2726/1.696, allocations: 17.66 MB / 0.7129 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/1.696, allocations: 10.58 kB / 0.7129 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004568/1.7, allocations: 0.8072 MB / 0.7137 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004542/1.705, allocations: 1.292 MB / 0.715 GB, free: 148 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009174/1.706, allocations: 106.5 kB / 0.7151 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/1.723, allocations: 11.58 MB / 0.7264 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.723, allocations: 15.56 kB / 0.7264 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/1.745, allocations: 11.19 MB / 0.7373 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003267/1.748, allocations: 1.093 MB / 0.7384 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.749, allocations: 83.75 kB / 0.7385 GB, free: 135.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.753, allocations: 237.3 kB / 0.7387 GB, free: 135.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.754, allocations: 326.1 kB / 0.739 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003094/1.754, allocations: 133.8 kB / 0.7391 GB, free: 135.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004399/1.759, allocations: 3.109 MB / 0.7422 GB, free: 134.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.759, allocations: 3.938 kB / 0.7422 GB, free: 134.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006158/1.765, allocations: 1.727 MB / 0.7439 GB, free: 134.4 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.001403/1.766, allocations: 0.5327 MB / 0.7444 GB, free: 134.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03445/1.801, allocations: 14.97 MB / 0.759 GB, free: 120.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.639e-05/1.801, allocations: 0 / 0.759 GB, free: 120.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007828/1.809, allocations: 3.935 MB / 0.7628 GB, free: 117.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008081/1.817, allocations: 1.062 MB / 0.7639 GB, free: 116.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03817/1.855, allocations: 17.97 MB / 0.7814 GB, free: 99.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/1.865, allocations: 6.316 MB / 0.7876 GB, free: 93.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/1.868, allocations: 427.3 kB / 0.788 GB, free: 93.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/1.868, allocations: 4 kB / 0.788 GB, free: 93.11 MB / 478.1 MB Notification: Performance of Templates: time 0.4873/2.356, allocations: 227.1 MB / 1.01 GB, free: 31.22 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 -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