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.0008354/0.0008353, allocations: 102.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000927/0.0009269, allocations: 192.3 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 8 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 51.52 MB / 358.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009429/0.1352, allocations: 8.338 MB / 367 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.1415, allocations: 2.868 MB / 369.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1429, allocations: 43.81 kB / 369.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.1444, allocations: 0.5165 MB / 370.4 MB, free: 1.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.1465, allocations: 0.6565 MB / 371.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.1473, allocations: 235.6 kB / 371.3 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2169/0.3643, allocations: 2.755 MB / 374 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.3667, allocations: 1.378 MB / 375.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.3688, allocations: 0.9162 MB / 376.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.3708, allocations: 1.243 MB / 377.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.3711, allocations: 133.3 kB / 377.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.3718, allocations: 201 kB / 377.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.3726, allocations: 0.6799 MB / 378.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.3732, allocations: 0.4948 MB / 379.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.3778, allocations: 3.284 MB / 382.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.3779, allocations: 1.031 kB / 382.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3779, allocations: 0 / 382.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001123/0.378, allocations: 0 / 382.4 MB, free: 9.02 MB / 302.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.007141/0.3852, allocations: 2.468 MB / 384.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.3852, allocations: 11 kB / 384.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.3865, allocations: 334.7 kB / 385.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.3891, allocations: 1.456 MB / 386.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.3893, allocations: 149 kB / 386.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.3897, allocations: 205.4 kB / 387 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.3954, allocations: 2.727 MB / 389.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/0.3955, allocations: 11.33 kB / 389.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.3957, allocations: 89.05 kB / 389.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.3959, allocations: 91.38 kB / 389.9 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.4005, allocations: 2.332 MB / 392.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.4136, allocations: 8.456 MB / 400.7 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.4162, allocations: 1.784 MB / 402.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.418, allocations: 1.064 MB / 403.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.4183, allocations: 123.6 kB / 403.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.4184, allocations: 47.52 kB / 403.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 6.832e-06/0.4184, allocations: 7.984 kB / 403.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01287/0.4313, allocations: 6.286 MB / 410 MB, free: 6.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4314, allocations: 64.41 kB / 410 MB, free: 6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.4337, allocations: 1.513 MB / 411.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.4338, allocations: 45.7 kB / 411.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/0.4345, allocations: 0.9934 MB / 412.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.4349, allocations: 419 kB / 413 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.435, allocations: 24 kB / 413 MB, free: 2.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4352, allocations: 361.9 kB / 413.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.4363, allocations: 0.7339 MB / 414.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.4376, allocations: 1.059 MB / 415.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.439, allocations: 0.8886 MB / 416.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.439, allocations: 0 / 416.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003789/0.4428, allocations: 2.36 MB / 418.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.4428, allocations: 11.94 kB / 418.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.4428, allocations: 14.3 kB / 418.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/0.4438, allocations: 415.4 kB / 418.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4449, allocations: 331.5 kB / 419.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.4498, allocations: 4.636 MB / 423.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.4512, allocations: 99.91 kB / 423.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4514, allocations: 55.94 kB / 424 MB, free: 7.629 MB / 334.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[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 initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001775/0.4532, allocations: 0.7043 MB / 424.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.4535, allocations: 165.9 kB / 424.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.4574, allocations: 2.161 MB / 427 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.4574, allocations: 15.98 kB / 427 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4574, allocations: 4 kB / 427 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.4574, allocations: 7.969 kB / 427 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008337/0.4658, allocations: 4.586 MB / 431.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.4658, allocations: 8.281 kB / 431.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4668, allocations: 219.7 kB / 431.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.4681, allocations: 462.9 kB / 432.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.4683, allocations: 35.98 kB / 432.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006796/0.4751, allocations: 6.147 MB / 438.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.4751, allocations: 4.031 kB / 438.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.4807, allocations: 3.199 MB / 441.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.4821, allocations: 404.9 kB / 442.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007183/0.4828, allocations: 24 kB / 442.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.4841, allocations: 87.91 kB / 442.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.4844, allocations: 108.9 kB / 442.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.4845, allocations: 35.98 kB / 442.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002435/0.487, allocations: 1.04 MB / 443.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.487, allocations: 4 kB / 443.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002456/0.4894, allocations: 464 kB / 443.8 MB, free: 3.199 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004452/0.4899, allocations: 152.2 kB / 444 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004208/0.4941, allocations: 2.278 MB / 446.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.4941, allocations: 0 / 446.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4966, allocations: 1.499 MB / 447.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/0.4998, allocations: 424 kB / 448.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5106, allocations: 5.321 MB / 453.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.5131, allocations: 1.83 MB / 455.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001774/0.5149, allocations: 401.6 kB / 455.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.5155, allocations: 107.4 kB / 455.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5155, allocations: 0 / 455.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of Templates: time 0.05275/0.5683, allocations: 23.56 MB / 479.4 MB, free: 15.68 MB / 398.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