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.001529/0.001529, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001799/0.001799, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 51.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2282, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.01911/0.2474, allocations: 19.54 MB / 421 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009913/0.2573, allocations: 5.646 MB / 426.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.26, allocations: 127.5 kB / 426.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.2637, allocations: 1.343 MB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.2693, allocations: 1.977 MB / 430.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.2721, allocations: 1.163 MB / 431.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006876/0.279, allocations: 6.374 MB / 437.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00633/0.2853, allocations: 5.413 MB / 443 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00361/0.2889, allocations: 2.991 MB / 446 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/0.2936, allocations: 3.476 MB / 449.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.2952, allocations: 0.8008 MB / 450.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.2977, allocations: 1.066 MB / 451.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002164/0.2999, allocations: 1.975 MB / 453.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004166/0.3041, allocations: 3.442 MB / 456.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3149, allocations: 10.62 MB / 467.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3149, allocations: 0 / 467.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.315, allocations: 0 / 467.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.3152, 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.01544/0.3306, allocations: 6.71 MB / 474.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3307, allocations: 8.031 kB / 474.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.3356, allocations: 1.067 MB / 475.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006749/0.3424, allocations: 3.697 MB / 478.9 MB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.3427, allocations: 386.7 kB / 479.2 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000777/0.3435, allocations: 0.5116 MB / 479.8 MB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.355, allocations: 6.953 MB / 486.7 MB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.3551, allocations: 11.91 kB / 486.7 MB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004787/0.3556, allocations: 212 kB / 486.9 MB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/0.3558, allocations: 238.2 kB / 487.2 MB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009565/0.3654, allocations: 5.919 MB / 493.1 MB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/0.3979, allocations: 21.08 MB / 0.5021 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008295/0.4062, allocations: 8.708 MB / 0.5106 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.4101, allocations: 2.366 MB / 0.5129 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.4214, allocations: 6.113 MB / 0.5189 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.4215, allocations: 60.56 kB / 0.519 GB, free: 4.762 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 3.707e-06/0.4215, allocations: 0 / 0.519 GB, free: 4.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.02305/0.4446, allocations: 11.29 MB / 0.53 GB, free: 9.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4446, allocations: 77.34 kB / 0.5301 GB, free: 9.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005518/0.4502, allocations: 2.99 MB / 0.533 GB, free: 6.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.4504, allocations: 65.7 kB / 0.533 GB, free: 6.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.4521, allocations: 2.304 MB / 0.5353 GB, free: 3.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.4528, allocations: 0.8125 MB / 0.5361 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008665/0.4537, allocations: 0.5137 MB / 0.5366 GB, free: 2.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.4537, allocations: 301.1 kB / 0.5369 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.4559, allocations: 1.353 MB / 0.5382 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2104/0.6663, allocations: 2.132 MB / 0.5403 GB, free: 125.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/0.6715, allocations: 3.688 MB / 0.5439 GB, free: 124 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/0.6715, allocations: 7.906 kB / 0.5439 GB, free: 124 MB / 462.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006425/0.6779, allocations: 4.663 MB / 0.5484 GB, free: 122.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.678, allocations: 15.81 kB / 0.5484 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.678, allocations: 24.2 kB / 0.5485 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.6796, allocations: 0.7612 MB / 0.5492 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.6818, allocations: 0.6312 MB / 0.5498 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009182/0.691, allocations: 14.53 MB / 0.564 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.6929, allocations: 151.8 kB / 0.5642 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.6931, allocations: 123.3 kB / 0.5643 GB, free: 109.5 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.002066/0.6952, allocations: 1.601 MB / 0.5658 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.6956, allocations: 323 kB / 0.5662 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007408/0.703, allocations: 4.204 MB / 0.5703 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/0.7031, allocations: 10.08 kB / 0.5703 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.7031, allocations: 0 / 0.5703 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/0.7049, allocations: 0.7005 MB / 0.571 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/0.7056, allocations: 50.02 kB / 0.571 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/0.7079, allocations: 131.2 kB / 0.5711 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/0.7084, allocations: 203.7 kB / 0.5713 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01181/0.7203, allocations: 4.166 MB / 0.5754 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00924/0.7295, allocations: 5.011 MB / 0.5803 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002531/0.7321, allocations: 1.452 MB / 0.5817 GB, free: 94.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004198/0.7363, allocations: 2.034 MB / 0.5837 GB, free: 92.52 MB / 462.1 MB Notification: Performance of Backend: time 4.51e-07/0.7363, allocations: 4 kB / 0.5837 GB, free: 92.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008323/0.7446, allocations: 3.661 MB / 0.5873 GB, free: 88.74 MB / 462.1 MB Notification: Performance of SimCode: time 0.02094/0.7656, allocations: 10.22 MB / 0.5972 GB, free: 78.52 MB / 462.1 MB Notification: Performance of Templates: time 0.1041/0.8698, allocations: 55.03 MB / 0.651 GB, free: 24.09 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