Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 56.14 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3464, allocations: 50.53 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0108/0.3572, allocations: 9.442 MB / 418.7 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006469/0.3637, allocations: 3.046 MB / 421.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.3652, allocations: 47.81 kB / 421.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.3671, allocations: 0.6288 MB / 422.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.3696, allocations: 0.7727 MB / 423.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.3704, allocations: 363.5 kB / 423.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.3729, allocations: 2.669 MB / 426.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.375, allocations: 2.147 MB / 428.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.3765, allocations: 1.199 MB / 429.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.3782, allocations: 1.495 MB / 431 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.3787, allocations: 312 kB / 431.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.3795, allocations: 411.8 kB / 431.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007824/0.3803, allocations: 0.8804 MB / 432.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.3823, allocations: 1.412 MB / 434 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.3871, allocations: 4.122 MB / 438.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3871, allocations: 0 / 438.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3872, allocations: 4 kB / 438.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.22e-05/0.3873, allocations: 0 / 438.2 MB, free: 4.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006608/0.3939, allocations: 2.932 MB / 441.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3939, allocations: 15.97 kB / 441.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.395, allocations: 327.1 kB / 441.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.3981, allocations: 1.564 MB / 443 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3983, allocations: 152.4 kB / 443.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.3986, allocations: 203.9 kB / 443.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.4034, allocations: 2.743 MB / 446.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/0.4034, allocations: 11.94 kB / 446.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.4037, allocations: 83.98 kB / 446.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.4038, allocations: 91.94 kB / 446.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.4077, allocations: 2.326 MB / 448.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.4204, allocations: 8.332 MB / 456.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.4226, allocations: 1.787 MB / 458.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.4245, allocations: 1.07 MB / 459.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.4247, allocations: 126.1 kB / 459.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4248, allocations: 47.55 kB / 460 MB, free: 14.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/0.4248, allocations: 0 / 460 MB, free: 14.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01305/0.4378, allocations: 6.248 MB / 466.2 MB, free: 7.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.4379, allocations: 68.41 kB / 466.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.4403, allocations: 1.533 MB / 467.8 MB, free: 6.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.4404, allocations: 45.7 kB / 467.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.4412, allocations: 1.013 MB / 468.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.4416, allocations: 436.3 kB / 469.3 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/0.442, allocations: 251.5 kB / 469.5 MB, free: 4.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4422, allocations: 361.9 kB / 469.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.4434, allocations: 0.7378 MB / 470.6 MB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.4448, allocations: 1.052 MB / 471.7 MB, free: 2.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.4473, allocations: 1.883 MB / 473.6 MB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.4473, allocations: 0 / 473.6 MB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004215/0.4515, allocations: 2.361 MB / 475.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4516, allocations: 8 kB / 475.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4516, allocations: 8 kB / 475.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009734/0.4526, allocations: 411.1 kB / 476.3 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4538, allocations: 327.5 kB / 476.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.4589, allocations: 5.067 MB / 481.7 MB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.4601, allocations: 91.8 kB / 481.8 MB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.4602, allocations: 67.94 kB / 481.9 MB, free: 7.469 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.4614, allocations: 0.7081 MB / 482.6 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.4617, allocations: 170.9 kB / 482.8 MB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.4653, allocations: 2.137 MB / 484.9 MB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4654, allocations: 15.98 kB / 484.9 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4654, allocations: 8 kB / 484.9 MB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4654, allocations: 3.984 kB / 484.9 MB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007137/0.4725, allocations: 4.562 MB / 489.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.4726, allocations: 7.984 kB / 489.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.4735, allocations: 219.7 kB / 489.7 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.4747, allocations: 478.8 kB / 490.2 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.561e-05/0.4748, allocations: 31.98 kB / 490.2 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/0.4812, allocations: 6.685 MB / 496.9 MB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4812, allocations: 0 / 496.9 MB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.486, allocations: 3.193 MB / 0.4884 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.4868, allocations: 403.9 kB / 0.4887 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.4871, allocations: 35.98 kB / 0.4888 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.4879, allocations: 75.86 kB / 0.4889 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.4881, allocations: 104.8 kB / 0.489 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.4882, allocations: 35.98 kB / 0.489 GB, free: 3.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001507/0.4897, allocations: 1.052 MB / 0.49 GB, free: 2.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4897, allocations: 3.938 kB / 0.49 GB, free: 2.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001588/0.4913, allocations: 471.9 kB / 0.4905 GB, free: 2.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/0.4917, allocations: 179 kB / 0.4906 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.4955, allocations: 2.266 MB / 0.4929 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4955, allocations: 4 kB / 0.4929 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.4978, allocations: 1.496 MB / 0.4943 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.5001, allocations: 450.5 kB / 0.4947 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00816/0.5083, allocations: 4.541 MB / 0.4992 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.5105, allocations: 1.826 MB / 0.501 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001458/0.512, allocations: 393.6 kB / 0.5013 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.5125, allocations: 115.4 kB / 0.5015 GB, free: 6.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5125, allocations: 0 / 0.5015 GB, free: 6.98 MB / 430.1 MB Notification: Performance of Templates: time 0.04341/0.5559, allocations: 26.05 MB / 0.5269 GB, free: 13.16 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches