Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.212, allocations: 50.56 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02305/0.2351, allocations: 24.3 MB / 434.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.2469, allocations: 7.191 MB / 441.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.2498, allocations: 163.4 kB / 441.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.2537, allocations: 1.722 MB / 443.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.2597, allocations: 2.47 MB / 445.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.2627, allocations: 1.465 MB / 447.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008933/0.2717, allocations: 8.924 MB / 456.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00811/0.2798, allocations: 7.162 MB / 463.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.2845, allocations: 4.097 MB / 467.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006402/0.2909, allocations: 4.865 MB / 472.3 MB, free: 2.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002071/0.293, allocations: 1.102 MB / 473.4 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.2957, allocations: 1.394 MB / 474.8 MB, free: 416 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002231/0.298, allocations: 2.716 MB / 477.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004423/0.3024, allocations: 4.699 MB / 482.2 MB, free: 8.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.3141, allocations: 14.52 MB / 496.7 MB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3141, allocations: 0 / 496.7 MB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3141, allocations: 0 / 496.7 MB, free: 10.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001511/0.3143, allocations: 0 / 496.7 MB, free: 10.41 MB / 414.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.01773/0.332, allocations: 8.953 MB / 0.4939 GB, free: 1.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.332, allocations: 8.031 kB / 0.4939 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/0.3378, allocations: 1.342 MB / 0.4952 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009453/0.3472, allocations: 5.449 MB / 0.5005 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.3476, allocations: 0.498 MB / 0.501 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009186/0.3485, allocations: 0.6639 MB / 0.5016 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.3628, allocations: 9.457 MB / 0.5109 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.3629, allocations: 11.84 kB / 0.5109 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006437/0.3636, allocations: 276 kB / 0.5111 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002355/0.3638, allocations: 301.4 kB / 0.5114 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.3769, allocations: 8.094 MB / 0.5193 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3559/0.7329, allocations: 29.17 MB / 0.5478 GB, free: 104.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.7459, allocations: 12.3 MB / 0.5598 GB, free: 96.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005925/0.7519, allocations: 3.403 MB / 0.5631 GB, free: 94.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.7666, allocations: 7.011 MB / 0.57 GB, free: 91.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.7666, allocations: 75.58 kB / 0.5701 GB, free: 91.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=305): time 5.179e-06/0.7666, allocations: 5.062 kB / 0.5701 GB, free: 91.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=324): time 0.02577/0.7924, allocations: 15.71 MB / 0.5854 GB, free: 82.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.7925, allocations: 86.2 kB / 0.5855 GB, free: 82.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/0.7973, allocations: 4.034 MB / 0.5894 GB, free: 78.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.7975, allocations: 81.7 kB / 0.5895 GB, free: 78.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.7989, allocations: 3.094 MB / 0.5925 GB, free: 75.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.7994, allocations: 1.092 MB / 0.5936 GB, free: 74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009113/0.8003, allocations: 0.6728 MB / 0.5943 GB, free: 73.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.267e-05/0.8004, allocations: 305.1 kB / 0.5945 GB, free: 73.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.8027, allocations: 1.866 MB / 0.5964 GB, free: 71.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/0.8052, allocations: 2.839 MB / 0.5991 GB, free: 67.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/0.8101, allocations: 4.9 MB / 0.6039 GB, free: 62.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.8101, allocations: 8 kB / 0.6039 GB, free: 62.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.008112/0.8183, allocations: 6.413 MB / 0.6102 GB, free: 56.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.8183, allocations: 19.39 kB / 0.6102 GB, free: 56.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.8183, allocations: 32.78 kB / 0.6102 GB, free: 56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.8207, allocations: 1.267 MB / 0.6115 GB, free: 54.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.8235, allocations: 0.8112 MB / 0.6123 GB, free: 53.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.8376, allocations: 22.55 MB / 0.6343 GB, free: 29.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.8406, allocations: 195.8 kB / 0.6345 GB, free: 29.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.8408, allocations: 152 kB / 0.6346 GB, free: 29.48 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,1,100.0%), (2,14,100.0%), (1,8,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.003102/0.8439, allocations: 2.199 MB / 0.6368 GB, free: 27.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/0.8445, allocations: 450.5 kB / 0.6372 GB, free: 26.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00799/0.8525, allocations: 6.041 MB / 0.6431 GB, free: 20.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.8525, allocations: 15.94 kB / 0.6431 GB, free: 20.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8525, allocations: 0 / 0.6431 GB, free: 20.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.8542, allocations: 0.9172 MB / 0.644 GB, free: 19.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/0.8548, allocations: 60 kB / 0.6441 GB, free: 19.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.8567, allocations: 183.8 kB / 0.6442 GB, free: 19.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/0.8571, allocations: 298 kB / 0.6445 GB, free: 19.11 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009993/0.8671, allocations: 5.801 MB / 0.6502 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00733/0.8745, allocations: 6.726 MB / 0.6568 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002102/0.8766, allocations: 1.987 MB / 0.6587 GB, free: 4.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003063/0.8797, allocations: 2.738 MB / 0.6614 GB, free: 1.754 MB / 462.1 MB Notification: Performance of Backend: time 7.42e-07/0.8797, allocations: 0 / 0.6614 GB, free: 1.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007558/0.8872, allocations: 4.974 MB / 0.6662 GB, free: 12.61 MB / 478.1 MB Notification: Performance of SimCode: time 0.02085/0.9081, allocations: 14 MB / 0.6799 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.2939/1.202, allocations: 77.79 MB / 0.7559 GB, free: 178.5 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches