Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009693/0.0009693, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.2 MB / 240.3 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008334, allocations: 99.23 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.000234, allocations: 8 kB / 351.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2155, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.3494, allocations: 110.9 MB / 0.5004 GB, free: 1.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.3498, allocations: 99.94 kB / 0.5005 GB, free: 1.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4504/0.8002, allocations: 80.75 MB / 0.5794 GB, free: 34.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.8002, allocations: 4 kB / 0.5794 GB, free: 34.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002658/0.8005, allocations: 79.88 kB / 0.5795 GB, free: 34.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01331/0.8138, allocations: 3.517 MB / 0.5829 GB, free: 30.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8139, allocations: 8.031 kB / 0.5829 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.8188, allocations: 0.7373 MB / 0.5836 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007343/0.8262, allocations: 3.336 MB / 0.5869 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.8263, allocations: 242.5 kB / 0.5871 GB, free: 26.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005749/0.8269, allocations: 323.8 kB / 0.5874 GB, free: 25.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.8329, allocations: 4.196 MB / 0.5915 GB, free: 21.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.555e-05/0.833, allocations: 11.84 kB / 0.5915 GB, free: 21.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.8333, allocations: 132 kB / 0.5917 GB, free: 21.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.8334, allocations: 142.4 kB / 0.5918 GB, free: 21.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/0.8384, allocations: 3.399 MB / 0.5951 GB, free: 17.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.8563, allocations: 13.93 MB / 0.6087 GB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/0.8618, allocations: 6.567 MB / 0.6151 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005765/0.8676, allocations: 3.226 MB / 0.6183 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.8677, allocations: 51.88 kB / 0.6183 GB, free: 8.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=140): time 2.825e-06/0.8677, allocations: 0 / 0.6183 GB, free: 8.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=143): time 0.0119/0.8796, allocations: 6.011 MB / 0.6242 GB, free: 2.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.8797, allocations: 68.72 kB / 0.6243 GB, free: 2.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.8821, allocations: 1.548 MB / 0.6258 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.8823, allocations: 53.7 kB / 0.6258 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/0.8832, allocations: 1.445 MB / 0.6272 GB, free: 15.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.8837, allocations: 0.4891 MB / 0.6277 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.8837, allocations: 32 kB / 0.6277 GB, free: 14.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8839, allocations: 373.9 kB / 0.6281 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8851, allocations: 0.691 MB / 0.6288 GB, free: 13.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.8865, allocations: 1.186 MB / 0.6299 GB, free: 12.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.888, allocations: 0.912 MB / 0.6308 GB, free: 11.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.888, allocations: 4 kB / 0.6308 GB, free: 11.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004258/0.8922, allocations: 2.554 MB / 0.6333 GB, free: 8.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8923, allocations: 12 kB / 0.6333 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/0.8923, allocations: 16 kB / 0.6334 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.8933, allocations: 364.3 kB / 0.6337 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.8948, allocations: 383.4 kB / 0.6341 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/0.9022, allocations: 7.775 MB / 0.6417 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.9038, allocations: 75.95 kB / 0.6417 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.904, allocations: 79.98 kB / 0.6418 GB, free: 15.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.9059, allocations: 1.001 MB / 0.6428 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.9063, allocations: 193.7 kB / 0.643 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.9104, allocations: 2.34 MB / 0.6453 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.9104, allocations: 16 kB / 0.6453 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.9104, allocations: 8 kB / 0.6453 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.9105, allocations: 19.89 kB / 0.6453 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009141/0.9196, allocations: 5.176 MB / 0.6504 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9197, allocations: 0 / 0.6504 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/0.9206, allocations: 187.9 kB / 0.6505 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.9222, allocations: 0.536 MB / 0.6511 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.9223, allocations: 35.98 kB / 0.6511 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1897/1.112, allocations: 12.26 MB / 0.6631 GB, free: 80.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.112, allocations: 7.562 kB / 0.6631 GB, free: 80.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/1.117, allocations: 3.401 MB / 0.6664 GB, free: 80.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.118, allocations: 435.4 kB / 0.6668 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.118, allocations: 33.77 kB / 0.6668 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/1.119, allocations: 74.64 kB / 0.6669 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/1.119, allocations: 106.2 kB / 0.667 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/1.119, allocations: 42.67 kB / 0.667 GB, free: 79.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00164/1.121, allocations: 1.185 MB / 0.6682 GB, free: 79.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.121, allocations: 0 / 0.6682 GB, free: 79.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002161/1.123, allocations: 0.6192 MB / 0.6688 GB, free: 79.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004971/1.124, allocations: 380.4 kB / 0.6692 GB, free: 79.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002978/1.127, allocations: 2.386 MB / 0.6715 GB, free: 79.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.127, allocations: 0 / 0.6715 GB, free: 79.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/1.129, allocations: 1.774 MB / 0.6732 GB, free: 78.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.131, allocations: 0.5048 MB / 0.6737 GB, free: 78.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00838/1.139, allocations: 7.077 MB / 0.6806 GB, free: 75.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/1.141, allocations: 2.371 MB / 0.683 GB, free: 74.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001531/1.143, allocations: 403.6 kB / 0.6833 GB, free: 74.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/1.143, allocations: 123.9 kB / 0.6835 GB, free: 74.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/1.143, allocations: 0 / 0.6835 GB, free: 74.63 MB / 426.7 MB Notification: Performance of Templates: time 0.04424/1.187, allocations: 30.4 MB / 0.7131 GB, free: 73.13 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches