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.001089/0.001089, 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.001078/0.001078, 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.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2081, allocations: 50.55 MB / 410 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02489/0.2331, allocations: 24.31 MB / 434.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2456, allocations: 7.191 MB / 441.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.2484, allocations: 163.4 kB / 441.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.2517, allocations: 1.726 MB / 443.3 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.2567, allocations: 2.462 MB / 445.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.2594, allocations: 1.462 MB / 447.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008237/0.2676, allocations: 8.924 MB / 456.2 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00736/0.275, allocations: 7.158 MB / 463.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.2796, allocations: 4.101 MB / 467.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006199/0.2858, allocations: 4.858 MB / 472.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.2873, allocations: 1.105 MB / 473.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.2897, allocations: 1.398 MB / 474.8 MB, free: 456 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.2919, allocations: 2.723 MB / 477.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004683/0.2966, allocations: 4.683 MB / 482.2 MB, free: 9.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.3094, allocations: 14.52 MB / 496.7 MB, free: 10.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3095, allocations: 4 kB / 496.7 MB, free: 10.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3095, allocations: 0 / 496.7 MB, free: 10.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000233/0.3097, allocations: 0 / 496.7 MB, free: 10.45 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.0189/0.3286, allocations: 8.953 MB / 0.4938 GB, free: 1.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3287, allocations: 8.031 kB / 0.4938 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/0.3346, allocations: 1.35 MB / 0.4952 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/0.3443, allocations: 5.449 MB / 0.5005 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.3447, allocations: 0.4941 MB / 0.501 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009986/0.3457, allocations: 0.6678 MB / 0.5016 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3606, allocations: 9.449 MB / 0.5109 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.3608, allocations: 15.84 kB / 0.5109 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006379/0.3614, allocations: 280 kB / 0.5111 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.3617, allocations: 301.4 kB / 0.5114 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3742, allocations: 8.094 MB / 0.5193 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3582/0.7324, allocations: 29.17 MB / 0.5478 GB, free: 104.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008192/0.7407, allocations: 12.3 MB / 0.5598 GB, free: 96.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004258/0.7449, allocations: 3.392 MB / 0.5631 GB, free: 94.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008906/0.7538, allocations: 7.018 MB / 0.57 GB, free: 91.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.7539, allocations: 71.12 kB / 0.5701 GB, free: 91.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=305): time 4.138e-06/0.7539, allocations: 0 / 0.5701 GB, free: 91.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=324): time 0.02351/0.7774, allocations: 15.72 MB / 0.5854 GB, free: 82.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.7775, allocations: 85.42 kB / 0.5855 GB, free: 82.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.7816, allocations: 4.031 MB / 0.5894 GB, free: 78.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.7818, allocations: 84.14 kB / 0.5895 GB, free: 78.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.783, allocations: 3.102 MB / 0.5925 GB, free: 75.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/0.7835, allocations: 1.088 MB / 0.5936 GB, free: 74.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008563/0.7844, allocations: 0.6728 MB / 0.5943 GB, free: 73.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.113e-05/0.7844, allocations: 309.1 kB / 0.5945 GB, free: 73.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.7867, allocations: 1.862 MB / 0.5964 GB, free: 71.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.7892, allocations: 2.839 MB / 0.5991 GB, free: 67.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/0.7942, allocations: 4.904 MB / 0.6039 GB, free: 62.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.7942, allocations: 8 kB / 0.6039 GB, free: 62.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007944/0.8022, allocations: 6.406 MB / 0.6102 GB, free: 56.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.8022, allocations: 16 kB / 0.6102 GB, free: 56.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.8022, allocations: 28 kB / 0.6102 GB, free: 56.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/0.8046, allocations: 1.269 MB / 0.6115 GB, free: 54.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.8073, allocations: 0.8112 MB / 0.6123 GB, free: 53.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.8211, allocations: 22.54 MB / 0.6343 GB, free: 29.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.8236, allocations: 204 kB / 0.6345 GB, free: 29.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.8238, allocations: 156 kB / 0.6346 GB, free: 29.55 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.002767/0.8266, allocations: 2.192 MB / 0.6368 GB, free: 27.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008118/0.8274, allocations: 446.6 kB / 0.6372 GB, free: 26.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008134/0.8356, allocations: 6.049 MB / 0.6431 GB, free: 20.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.8356, allocations: 18.23 kB / 0.6431 GB, free: 20.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.8356, allocations: 0 / 0.6431 GB, free: 20.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.837, allocations: 0.9133 MB / 0.644 GB, free: 19.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/0.8375, allocations: 63.98 kB / 0.6441 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/0.8393, allocations: 187.8 kB / 0.6442 GB, free: 19.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004765/0.8398, allocations: 294.1 kB / 0.6445 GB, free: 19.19 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009915/0.8497, allocations: 5.798 MB / 0.6502 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007412/0.8572, allocations: 6.73 MB / 0.6568 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002062/0.8592, allocations: 1.987 MB / 0.6587 GB, free: 4.582 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003044/0.8623, allocations: 2.75 MB / 0.6614 GB, free: 1.828 MB / 462.1 MB Notification: Performance of Backend: time 2.3e-07/0.8623, allocations: 0 / 0.6614 GB, free: 1.828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007164/0.8695, allocations: 4.97 MB / 0.6662 GB, free: 12.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.02061/0.8901, allocations: 14.01 MB / 0.6799 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Templates: time 0.2909/1.181, allocations: 77.78 MB / 0.7559 GB, free: 178.7 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