Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 113.2 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 189.8 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 51.98 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, allocations: 49.44 MB / 349.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01264/0.122, allocations: 9.326 MB / 358.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007396/0.1295, allocations: 2.929 MB / 361.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.1313, allocations: 43.81 kB / 361.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.134, allocations: 0.5673 MB / 362.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.1374, allocations: 0.7033 MB / 363.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1387, allocations: 303.7 kB / 363.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003843/0.1425, allocations: 2.652 MB / 366.1 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.1457, allocations: 2.155 MB / 368.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.1477, allocations: 1.195 MB / 369.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2193/0.367, allocations: 1.516 MB / 371 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007503/0.3678, allocations: 310.1 kB / 371.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.3689, allocations: 397 kB / 371.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008572/0.3698, allocations: 0.8907 MB / 372.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.3712, allocations: 1.407 MB / 373.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.3756, allocations: 4.039 MB / 378 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3756, allocations: 0.5312 kB / 378 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3756, allocations: 2.812 kB / 378 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.792e-05/0.3757, allocations: 1.406 kB / 378 MB, free: 12.23 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.005737/0.3814, allocations: 2.851 MB / 380.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3815, allocations: 9.219 kB / 380.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.3822, allocations: 290.7 kB / 381.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.3844, allocations: 1.493 MB / 382.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.3845, allocations: 151.2 kB / 382.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.3848, allocations: 203.4 kB / 383 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/0.3895, allocations: 2.742 MB / 385.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.479e-05/0.3896, allocations: 3.281 kB / 385.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.3898, allocations: 82.88 kB / 385.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.39, allocations: 94.88 kB / 385.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004135/0.3941, allocations: 2.324 MB / 388.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/0.4047, allocations: 8.414 MB / 396.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.4063, allocations: 1.776 MB / 398.4 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.408, allocations: 1.063 MB / 399.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.4083, allocations: 119.6 kB / 399.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.4083, allocations: 44.5 kB / 399.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.4083, allocations: 2.156 kB / 399.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.0129/0.4212, allocations: 6.202 MB / 405.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.4213, allocations: 64.41 kB / 405.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.4237, allocations: 1.52 MB / 407.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.4238, allocations: 45.7 kB / 407.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.4245, allocations: 0.9862 MB / 408.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.4249, allocations: 418.5 kB / 408.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/0.4253, allocations: 251.4 kB / 409.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4255, allocations: 361.9 kB / 409.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.4266, allocations: 0.7339 MB / 410.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.428, allocations: 1.054 MB / 411.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.4305, allocations: 1.876 MB / 413.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4306, allocations: 0 / 413.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004029/0.4346, allocations: 2.357 MB / 415.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4346, allocations: 8 kB / 415.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4346, allocations: 8 kB / 415.5 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/0.4356, allocations: 414.2 kB / 415.9 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.4369, allocations: 324.4 kB / 416.2 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.4422, allocations: 5.071 MB / 421.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4435, allocations: 94.95 kB / 421.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.4436, allocations: 48 kB / 421.4 MB, free: 10.55 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[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.001355/0.445, allocations: 0.7167 MB / 422.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.4454, allocations: 162 kB / 422.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.4493, allocations: 2.143 MB / 424.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4493, allocations: 12 kB / 424.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4493, allocations: 4 kB / 424.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.4494, allocations: 11.97 kB / 424.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.4576, allocations: 4.581 MB / 429 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4577, allocations: 8.062 kB / 429.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000999/0.4587, allocations: 221.9 kB / 429.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.46, allocations: 469 kB / 429.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.4601, allocations: 35.92 kB / 429.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/0.4668, allocations: 6.682 MB / 436.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4668, allocations: 3.938 kB / 436.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/0.4722, allocations: 3.176 MB / 439.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4733, allocations: 399 kB / 440 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005215/0.4738, allocations: 27.98 kB / 440 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.4749, allocations: 75.92 kB / 440.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/0.4753, allocations: 111.7 kB / 440.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/0.4754, allocations: 35.98 kB / 440.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001975/0.4773, allocations: 1.04 MB / 441.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4774, allocations: 0 / 441.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002074/0.4794, allocations: 472 kB / 441.8 MB, free: 5.703 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 (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.0005055/0.48, allocations: 186.3 kB / 441.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005135/0.4851, allocations: 2.826 MB / 444.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.4851, allocations: 4 kB / 444.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.4876, allocations: 1.489 MB / 446.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.4903, allocations: 442.8 kB / 446.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009439/0.4998, allocations: 5.408 MB / 452.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.502, allocations: 1.819 MB / 453.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001448/0.5034, allocations: 397.5 kB / 454.3 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.5039, allocations: 111.4 kB / 454.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5039, allocations: 0 / 454.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of Templates: time 0.04467/0.5486, allocations: 25.42 MB / 479.8 MB, free: 15.82 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches