Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2891, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.041/0.3301, allocations: 38.91 MB / 448.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02372/0.3539, allocations: 10.32 MB / 459.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00797/0.3619, allocations: 295.1 kB / 459.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02325/0.3852, allocations: 10.18 MB / 469.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.4005, allocations: 4.047 MB / 473.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.4106, allocations: 2.432 MB / 476.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02525/0.4358, allocations: 16.51 MB / 492.7 MB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06017/0.496, allocations: 31.21 MB / 0.5116 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/0.5117, allocations: 8.517 MB / 0.5199 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/0.5282, allocations: 9.488 MB / 0.5292 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008606/0.5369, allocations: 2.418 MB / 0.5315 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009394/0.5463, allocations: 2.835 MB / 0.5343 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007861/0.5542, allocations: 4.809 MB / 0.539 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5839/1.138, allocations: 9.205 MB / 0.548 GB, free: 48.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03576/1.174, allocations: 32.16 MB / 0.5794 GB, free: 40.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.174, allocations: 0 / 0.5794 GB, free: 40.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.274e-06/1.174, allocations: 2.625 kB / 0.5794 GB, free: 40.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001026/1.175, allocations: 0 / 0.5794 GB, free: 40.65 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06629/1.241, allocations: 18.71 MB / 0.5977 GB, free: 29.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.241, allocations: 15.55 kB / 0.5977 GB, free: 29.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04754/1.289, allocations: 8.337 MB / 0.6058 GB, free: 25.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.309, allocations: 10.24 MB / 0.6158 GB, free: 16.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009013/1.31, allocations: 1.057 MB / 0.6169 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006176/1.316, allocations: 1.403 MB / 0.6182 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06298/1.379, allocations: 22.74 MB / 0.6405 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005236/1.38, allocations: 15.81 kB / 0.6405 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005963/1.386, allocations: 0.5799 MB / 0.641 GB, free: 6.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009239/1.387, allocations: 0.7832 MB / 0.6418 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05182/1.439, allocations: 21.01 MB / 0.6623 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1535/1.592, allocations: 72.66 MB / 0.7333 GB, free: 7.332 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3538/1.946, allocations: 42.7 MB / 0.775 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01057/1.957, allocations: 5.201 MB / 0.7801 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/1.983, allocations: 12.95 MB / 0.7927 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/1.983, allocations: 91.02 kB / 0.7928 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.667e-06/1.983, allocations: 3.469 kB / 0.7928 GB, free: 176.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.06267/2.046, allocations: 26.29 MB / 0.8185 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/2.046, allocations: 133.8 kB / 0.8186 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/2.058, allocations: 5.784 MB / 0.8242 GB, free: 163 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/2.059, allocations: 113 kB / 0.8244 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004052/2.063, allocations: 6.164 MB / 0.8304 GB, free: 157.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002404/2.066, allocations: 1.734 MB / 0.8321 GB, free: 156 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/2.068, allocations: 1.459 MB / 0.8335 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/2.068, allocations: 309.1 kB / 0.8338 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005108/2.073, allocations: 3.625 MB / 0.8373 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006905/2.08, allocations: 6.48 MB / 0.8437 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.093, allocations: 10.76 MB / 0.8542 GB, free: 133 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.351e-05/2.093, allocations: 28 kB / 0.8542 GB, free: 133 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02293/2.116, allocations: 12.08 MB / 0.866 GB, free: 121 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/2.116, allocations: 45.5 kB / 0.866 GB, free: 121 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/2.117, allocations: 92 kB / 0.8661 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004609/2.121, allocations: 1.601 MB / 0.8677 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00681/2.128, allocations: 1.661 MB / 0.8693 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/2.15, allocations: 19.63 MB / 0.8885 GB, free: 97.36 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/2.158, allocations: 427.5 kB / 0.8889 GB, free: 96.94 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/2.16, allocations: 372 kB / 0.8892 GB, free: 96.57 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01245/2.173, allocations: 5.191 MB / 0.8943 GB, free: 91.37 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002353/2.175, allocations: 0.5981 MB / 0.8949 GB, free: 90.76 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/2.195, allocations: 9.371 MB / 0.904 GB, free: 81.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01133/2.207, allocations: 5.873 MB / 0.9098 GB, free: 75.39 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-05/2.207, allocations: 20 kB / 0.9098 GB, free: 75.37 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/2.207, allocations: 23.91 kB / 0.9098 GB, free: 75.35 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0465/2.254, allocations: 21.01 MB / 0.9303 GB, free: 54.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/2.254, allocations: 7.75 kB / 0.9303 GB, free: 54.24 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003978/2.258, allocations: 0.8625 MB / 0.9312 GB, free: 53.38 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/2.262, allocations: 1.634 MB / 0.9328 GB, free: 51.72 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009905/2.263, allocations: 128 kB / 0.9329 GB, free: 51.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/2.285, allocations: 23.18 MB / 0.9555 GB, free: 27.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/2.285, allocations: 16 kB / 0.9556 GB, free: 27.46 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/2.304, allocations: 13.72 MB / 0.969 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/2.308, allocations: 1.36 MB / 0.9703 GB, free: 12 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/2.309, allocations: 104 kB / 0.9704 GB, free: 11.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/2.313, allocations: 283.7 kB / 0.9706 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/2.314, allocations: 412.3 kB / 0.971 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003498/2.315, allocations: 155.9 kB / 0.9712 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006482/2.321, allocations: 3.912 MB / 0.975 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.91e-07/2.321, allocations: 0.8438 kB / 0.975 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01109/2.332, allocations: 2.336 MB / 0.9773 GB, free: 4.852 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/2.334, allocations: 307.8 kB / 0.9776 GB, free: 4.547 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2823/2.616, allocations: 9.874 MB / 0.9872 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/2.616, allocations: 3.969 kB / 0.9872 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008703/2.625, allocations: 5.438 MB / 0.9925 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008865/2.634, allocations: 1.649 MB / 0.9942 GB, free: 194.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04427/2.678, allocations: 24.27 MB / 1.018 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01212/2.69, allocations: 8.584 MB / 1.026 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/2.693, allocations: 0.5056 MB / 1.027 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.132e-06/2.693, allocations: 0 / 1.027 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of Templates: time 1.623/4.316, allocations: 0.6696 GB / 1.696 GB, free: 156.4 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches