Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.0009799/0.0009799, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009626/0.0009626, allocations: 39.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.21, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02293/0.233, allocations: 23.63 MB / 425.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.2446, allocations: 6.897 MB / 432 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.2476, allocations: 171.3 kB / 432.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003586/0.2512, allocations: 1.677 MB / 433.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005891/0.2571, allocations: 2.486 MB / 436.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.26, allocations: 1.399 MB / 437.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008967/0.269, allocations: 8.871 MB / 446.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007577/0.2766, allocations: 7.154 MB / 453.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004586/0.2812, allocations: 4.085 MB / 457.8 MB, free: 220 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005318/0.2865, allocations: 4.733 MB / 462.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.2879, allocations: 1.102 MB / 463.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.2901, allocations: 1.378 MB / 465 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.2923, allocations: 2.739 MB / 467.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004458/0.2968, allocations: 4.676 MB / 472.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.3091, allocations: 14.46 MB / 486.9 MB, free: 3.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3091, allocations: 3.938 kB / 486.9 MB, free: 3.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3091, allocations: 0 / 486.9 MB, free: 3.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002425/0.3093, allocations: 3.938 kB / 486.9 MB, free: 3.035 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.0196/0.329, allocations: 8.9 MB / 495.8 MB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.329, allocations: 8.031 kB / 495.8 MB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/0.3345, allocations: 1.311 MB / 497.1 MB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.3445, allocations: 5.402 MB / 0.4907 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.3449, allocations: 0.498 MB / 0.4912 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009696/0.3459, allocations: 0.664 MB / 0.4919 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.361, allocations: 9.453 MB / 0.5011 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.3611, allocations: 15.84 kB / 0.5011 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006599/0.3618, allocations: 276 kB / 0.5014 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/0.362, allocations: 297.4 kB / 0.5017 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.3752, allocations: 8.098 MB / 0.5096 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04567/0.4208, allocations: 28.97 MB / 0.5379 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3269/0.7478, allocations: 11.99 MB / 0.5496 GB, free: 113.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004323/0.7521, allocations: 3.361 MB / 0.5529 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.7636, allocations: 7.944 MB / 0.5606 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.7637, allocations: 76 kB / 0.5607 GB, free: 108.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=305): time 4.238e-06/0.7637, allocations: 0 / 0.5607 GB, free: 108.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=324): time 0.02447/0.7881, allocations: 15.87 MB / 0.5762 GB, free: 98.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.7882, allocations: 85.95 kB / 0.5763 GB, free: 98.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.7924, allocations: 3.992 MB / 0.5802 GB, free: 94.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.7926, allocations: 81.7 kB / 0.5802 GB, free: 94.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.7939, allocations: 3.085 MB / 0.5833 GB, free: 91.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006057/0.7945, allocations: 1.092 MB / 0.5843 GB, free: 90.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/0.7954, allocations: 0.6767 MB / 0.585 GB, free: 89.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.7955, allocations: 305.1 kB / 0.5853 GB, free: 89.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.7977, allocations: 1.866 MB / 0.5871 GB, free: 87.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.8003, allocations: 2.831 MB / 0.5899 GB, free: 84.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004891/0.8052, allocations: 4.91 MB / 0.5947 GB, free: 78.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.8052, allocations: 8 kB / 0.5947 GB, free: 78.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.008182/0.8134, allocations: 6.402 MB / 0.6009 GB, free: 72.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.8134, allocations: 20.19 kB / 0.6009 GB, free: 72.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.8135, allocations: 28 kB / 0.601 GB, free: 72.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.8159, allocations: 1.268 MB / 0.6022 GB, free: 71.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/0.8187, allocations: 0.8035 MB / 0.603 GB, free: 70.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.8326, allocations: 22.54 MB / 0.625 GB, free: 46.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.8354, allocations: 195.8 kB / 0.6252 GB, free: 46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.8357, allocations: 159.9 kB / 0.6253 GB, free: 45.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 410 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,8,100.0%), (2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002804/0.8385, allocations: 2.183 MB / 0.6275 GB, free: 43.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/0.839, allocations: 450.5 kB / 0.6279 GB, free: 43.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/0.847, allocations: 6.042 MB / 0.6338 GB, free: 36.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.8471, allocations: 15.94 kB / 0.6338 GB, free: 36.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.8471, allocations: 0 / 0.6338 GB, free: 36.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.8487, allocations: 0.9096 MB / 0.6347 GB, free: 36.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005606/0.8493, allocations: 63.94 kB / 0.6348 GB, free: 35.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.8511, allocations: 191.8 kB / 0.6349 GB, free: 35.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004608/0.8516, allocations: 298 kB / 0.6352 GB, free: 35.49 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01016/0.8618, allocations: 5.788 MB / 0.6409 GB, free: 29.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007949/0.8698, allocations: 6.741 MB / 0.6475 GB, free: 22.88 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002085/0.8719, allocations: 1.984 MB / 0.6494 GB, free: 20.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003169/0.875, allocations: 2.717 MB / 0.6521 GB, free: 18.16 MB / 462.1 MB Notification: Performance of Backend: time 2.71e-07/0.875, allocations: 0 / 0.6521 GB, free: 18.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006754/0.8818, allocations: 4.956 MB / 0.6569 GB, free: 13.02 MB / 462.1 MB Notification: Performance of SimCode: time 0.01684/0.8987, allocations: 13.94 MB / 0.6705 GB, free: 15.07 MB / 478.1 MB Notification: Performance of Templates: time 0.2983/1.197, allocations: 77.11 MB / 0.7458 GB, free: 168.9 MB / 0.5138 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches