Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2185, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02015/0.2387, allocations: 20.18 MB / 430.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.2494, allocations: 5.92 MB / 436.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.252, allocations: 123.6 kB / 436.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.2551, allocations: 1.319 MB / 437.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004926/0.2601, allocations: 1.879 MB / 439.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.2627, allocations: 1.209 MB / 440.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00667/0.2693, allocations: 6.433 MB / 447 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005796/0.2752, allocations: 5.43 MB / 452.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.2791, allocations: 2.991 MB / 455.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/0.2836, allocations: 3.608 MB / 459 MB, free: 244 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.2848, allocations: 0.8008 MB / 459.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.2869, allocations: 1.093 MB / 460.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.2885, allocations: 1.983 MB / 462.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003726/0.2923, allocations: 3.446 MB / 466.4 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3025, allocations: 10.68 MB / 477 MB, free: 14.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3025, allocations: 0 / 477 MB, free: 14.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3025, allocations: 0 / 477 MB, free: 14.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.3027, allocations: 0 / 477 MB, free: 14.19 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01659/0.3193, allocations: 6.74 MB / 483.8 MB, free: 7.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3194, allocations: 8.031 kB / 483.8 MB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.3247, allocations: 1.099 MB / 484.9 MB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/0.3314, allocations: 3.744 MB / 488.6 MB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.3317, allocations: 382.7 kB / 489 MB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008962/0.3326, allocations: 0.5076 MB / 489.5 MB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.3441, allocations: 6.953 MB / 496.5 MB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.3443, allocations: 7.906 kB / 496.5 MB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004721/0.3447, allocations: 212 kB / 496.7 MB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.345, allocations: 242.2 kB / 496.9 MB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009569/0.3545, allocations: 5.931 MB / 0.4911 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.031/0.3855, allocations: 21.17 MB / 0.5117 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008224/0.3938, allocations: 8.729 MB / 0.5203 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/0.3975, allocations: 2.37 MB / 0.5226 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.4078, allocations: 6.336 MB / 0.5288 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.4079, allocations: 64.5 kB / 0.5288 GB, free: 11.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 3.356e-06/0.4079, allocations: 0 / 0.5288 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.02169/0.4296, allocations: 11.31 MB / 0.5399 GB, free: 304 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4297, allocations: 77.41 kB / 0.5399 GB, free: 216 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2006/0.6303, allocations: 3.008 MB / 0.5429 GB, free: 120.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.6307, allocations: 67.3 kB / 0.5429 GB, free: 120.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.6319, allocations: 2.33 MB / 0.5452 GB, free: 119.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.6325, allocations: 0.8141 MB / 0.546 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006594/0.6331, allocations: 0.5056 MB / 0.5465 GB, free: 118.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.6332, allocations: 301.1 kB / 0.5468 GB, free: 118.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.6349, allocations: 1.357 MB / 0.5481 GB, free: 117.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.6368, allocations: 2.126 MB / 0.5502 GB, free: 116.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.6407, allocations: 3.694 MB / 0.5538 GB, free: 114.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.6407, allocations: 6.344 kB / 0.5538 GB, free: 114.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006347/0.6471, allocations: 4.665 MB / 0.5584 GB, free: 112.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6471, allocations: 19.69 kB / 0.5584 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.6472, allocations: 23.53 kB / 0.5584 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.6488, allocations: 0.7618 MB / 0.5591 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.6509, allocations: 0.624 MB / 0.5598 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/0.6603, allocations: 14.54 MB / 0.574 GB, free: 97.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.6629, allocations: 153.5 kB / 0.5741 GB, free: 97.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.6631, allocations: 120 kB / 0.5742 GB, free: 97.75 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.002216/0.6653, allocations: 1.613 MB / 0.5758 GB, free: 96.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/0.6659, allocations: 332 kB / 0.5761 GB, free: 95.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.6716, allocations: 4.203 MB / 0.5802 GB, free: 91.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.6717, allocations: 11.95 kB / 0.5802 GB, free: 91.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6717, allocations: 0 / 0.5802 GB, free: 91.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.6732, allocations: 0.6923 MB / 0.5809 GB, free: 90.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.6736, allocations: 55.98 kB / 0.581 GB, free: 90.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.6749, allocations: 128.4 kB / 0.5811 GB, free: 90.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.6753, allocations: 209.6 kB / 0.5813 GB, free: 90.4 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00705/0.6824, allocations: 4.161 MB / 0.5853 GB, free: 86.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005726/0.6881, allocations: 5.005 MB / 0.5902 GB, free: 81.23 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001523/0.6896, allocations: 1.452 MB / 0.5916 GB, free: 79.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002439/0.6921, allocations: 2.058 MB / 0.5937 GB, free: 77.73 MB / 462.1 MB Notification: Performance of Backend: time 1.293e-06/0.6921, allocations: 0 / 0.5937 GB, free: 77.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005411/0.6975, allocations: 3.669 MB / 0.5972 GB, free: 73.94 MB / 462.1 MB Notification: Performance of SimCode: time 0.01247/0.71, allocations: 10.25 MB / 0.6072 GB, free: 63.68 MB / 462.1 MB Notification: Performance of Templates: time 0.07294/0.783, allocations: 55.49 MB / 0.6614 GB, free: 8.75 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches