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_DOL.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.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 115.9 kB / 17.75 MB, free: 5.219 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.001657/0.001657, allocations: 181.4 kB / 18.67 MB, free: 4.301 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2313, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.01893/0.2503, allocations: 19.53 MB / 421 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009656/0.26, allocations: 5.654 MB / 426.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.2625, allocations: 127.5 kB / 426.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.266, allocations: 1.351 MB / 428.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.2715, allocations: 1.977 MB / 430.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.2744, allocations: 1.153 MB / 431.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00776/0.2821, allocations: 6.384 MB / 437.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007416/0.2896, allocations: 5.413 MB / 443 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.2939, allocations: 2.983 MB / 446 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005175/0.2991, allocations: 3.476 MB / 449.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.3009, allocations: 0.8008 MB / 450.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.3039, allocations: 1.07 MB / 451.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.3064, allocations: 1.975 MB / 453.3 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00443/0.3109, allocations: 3.439 MB / 456.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009734/0.3206, allocations: 10.64 MB / 467.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3206, allocations: 0 / 467.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3207, allocations: 0 / 467.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001918/0.3209, allocations: 0 / 467.4 MB, free: 6.59 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01452/0.3354, allocations: 6.863 MB / 474.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3354, allocations: 8.031 kB / 474.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.3403, allocations: 1.098 MB / 475.4 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006477/0.3468, allocations: 3.715 MB / 479.1 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.3471, allocations: 390.7 kB / 479.5 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008431/0.3479, allocations: 0.5078 MB / 480 MB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.3597, allocations: 6.953 MB / 486.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.3598, allocations: 7.953 kB / 486.9 MB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.3603, allocations: 212 kB / 487.2 MB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.3605, allocations: 238.2 kB / 487.4 MB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009761/0.3703, allocations: 5.935 MB / 493.3 MB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.4018, allocations: 21.14 MB / 0.5024 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/0.4098, allocations: 8.714 MB / 0.5109 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00367/0.4135, allocations: 2.366 MB / 0.5132 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.4237, allocations: 6.106 MB / 0.5192 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.4237, allocations: 68.55 kB / 0.5192 GB, free: 4.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.127e-06/0.4238, allocations: 0 / 0.5192 GB, free: 4.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.02252/0.4463, allocations: 11.37 MB / 0.5304 GB, free: 8.906 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4463, allocations: 73.41 kB / 0.5304 GB, free: 8.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/0.4515, allocations: 2.994 MB / 0.5333 GB, free: 5.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.4517, allocations: 65.7 kB / 0.5334 GB, free: 5.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.4535, allocations: 2.365 MB / 0.5357 GB, free: 3.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007183/0.4542, allocations: 0.856 MB / 0.5366 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000911/0.4551, allocations: 0.51 MB / 0.5371 GB, free: 1.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4553, allocations: 301.1 kB / 0.5373 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.4576, allocations: 1.353 MB / 0.5387 GB, free: 336 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1841/0.6417, allocations: 2.136 MB / 0.5407 GB, free: 125.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.6462, allocations: 3.695 MB / 0.5444 GB, free: 123.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.6462, allocations: 7.812 kB / 0.5444 GB, free: 123.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006402/0.6526, allocations: 4.674 MB / 0.5489 GB, free: 122 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6527, allocations: 14.22 kB / 0.5489 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.6527, allocations: 26.44 kB / 0.549 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.6543, allocations: 0.7538 MB / 0.5497 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.6565, allocations: 0.6328 MB / 0.5503 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/0.6655, allocations: 14.53 MB / 0.5645 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.6678, allocations: 154.8 kB / 0.5647 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.6681, allocations: 124.8 kB / 0.5648 GB, free: 109.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * 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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00279/0.6709, allocations: 1.599 MB / 0.5663 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007624/0.6717, allocations: 346.2 kB / 0.5667 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005963/0.6776, allocations: 4.203 MB / 0.5708 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.6777, allocations: 9.469 kB / 0.5708 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6777, allocations: 3.562 kB / 0.5708 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.6789, allocations: 0.7037 MB / 0.5715 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/0.6793, allocations: 55.7 kB / 0.5715 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.6807, allocations: 131.9 kB / 0.5717 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.681, allocations: 205.5 kB / 0.5718 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006951/0.688, allocations: 4.172 MB / 0.5759 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005444/0.6934, allocations: 5.023 MB / 0.5808 GB, free: 95.37 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00152/0.695, allocations: 1.456 MB / 0.5823 GB, free: 93.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002322/0.6973, allocations: 2.034 MB / 0.5842 GB, free: 91.89 MB / 462.1 MB Notification: Performance of Backend: time 4.21e-07/0.6973, allocations: 7.938 kB / 0.5842 GB, free: 91.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00516/0.7025, allocations: 3.67 MB / 0.5878 GB, free: 88.09 MB / 462.1 MB Notification: Performance of SimCode: time 0.01169/0.7142, allocations: 10.39 MB / 0.598 GB, free: 77.69 MB / 462.1 MB Notification: Performance of Templates: time 0.07057/0.7848, allocations: 55.03 MB / 0.6517 GB, free: 23.26 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches