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.001542/0.001542, allocations: 108.2 kB / 17.74 MB, free: 5.359 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.001706/0.001706, allocations: 183.1 kB / 18.67 MB, free: 4.441 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 55.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2646, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01051/0.2751, allocations: 9.387 MB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.2811, allocations: 2.961 MB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.2824, allocations: 47.81 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.2842, allocations: 0.6325 MB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.2867, allocations: 0.7649 MB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.2876, allocations: 355.5 kB / 415.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003188/0.2908, allocations: 2.66 MB / 418.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.2935, allocations: 2.159 MB / 420.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.2952, allocations: 1.191 MB / 421.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.2975, allocations: 1.487 MB / 423.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.2981, allocations: 312 kB / 423.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009905/0.2991, allocations: 395.8 kB / 423.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009578/0.3001, allocations: 0.8882 MB / 424.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.3021, allocations: 1.4 MB / 426 MB, free: 112 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.306, allocations: 4.081 MB / 430.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3061, allocations: 11.88 kB / 430.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3061, allocations: 0 / 430.1 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.869e-05/0.3061, allocations: 0 / 430.1 MB, free: 12 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.005112/0.3113, allocations: 2.864 MB / 433 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3113, allocations: 8.031 kB / 433 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000672/0.312, allocations: 285.7 kB / 433.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.3143, allocations: 1.52 MB / 434.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3144, allocations: 152.3 kB / 434.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.3147, allocations: 216 kB / 435.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.319, allocations: 2.736 MB / 437.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.3191, allocations: 4 kB / 437.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.3193, allocations: 80 kB / 438 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.494e-05/0.3194, allocations: 99.92 kB / 438.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.3232, allocations: 2.322 MB / 440.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3358, allocations: 8.317 MB / 448.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.3379, allocations: 1.777 MB / 450.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3398, allocations: 1.077 MB / 451.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.34, allocations: 118.1 kB / 451.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.34, allocations: 47.55 kB / 451.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.337e-06/0.34, allocations: 4 kB / 451.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01303/0.3531, allocations: 6.196 MB / 457.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3532, allocations: 64.41 kB / 458 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.3553, allocations: 1.512 MB / 459.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.3554, allocations: 45.7 kB / 459.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000675/0.3561, allocations: 0.9874 MB / 460.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.3564, allocations: 417.9 kB / 460.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.3568, allocations: 251.4 kB / 461.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.357, allocations: 365.9 kB / 461.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3581, allocations: 0.73 MB / 462.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.3594, allocations: 1.052 MB / 463.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.3619, allocations: 1.879 MB / 465.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.362, allocations: 7.938 kB / 465.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003992/0.366, allocations: 2.349 MB / 467.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.366, allocations: 12 kB / 467.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.366, allocations: 8 kB / 467.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009939/0.367, allocations: 411.4 kB / 468 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.3683, allocations: 331.5 kB / 468.3 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.3735, allocations: 5.061 MB / 473.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3748, allocations: 91.84 kB / 473.5 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.375, allocations: 51.98 kB / 473.5 MB, free: 15.27 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.001206/0.3762, allocations: 0.7159 MB / 474.2 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.3766, allocations: 158 kB / 474.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.3804, allocations: 2.141 MB / 476.5 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3804, allocations: 12 kB / 476.5 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3804, allocations: 4 kB / 476.5 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.3805, allocations: 3.984 kB / 476.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/0.3883, allocations: 4.573 MB / 481.1 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.3883, allocations: 7.984 kB / 481.1 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/0.3893, allocations: 219.7 kB / 481.3 MB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.3906, allocations: 470.8 kB / 481.8 MB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3907, allocations: 31.98 kB / 481.8 MB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/0.3972, allocations: 6.682 MB / 488.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3972, allocations: 0 / 488.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.4023, allocations: 3.184 MB / 491.7 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.4032, allocations: 399 kB / 492.1 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.4036, allocations: 27.98 kB / 492.1 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/0.4046, allocations: 75.91 kB / 492.2 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.4049, allocations: 108.8 kB / 492.3 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.4049, allocations: 35.98 kB / 492.3 MB, free: 11.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4066, allocations: 1.048 MB / 493.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4066, allocations: 0 / 493.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001556/0.4081, allocations: 463.9 kB / 493.8 MB, free: 10.3 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.0003989/0.4086, allocations: 183 kB / 494 MB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.4123, allocations: 2.277 MB / 496.3 MB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4123, allocations: 0 / 496.3 MB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.4146, allocations: 1.485 MB / 497.8 MB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.4169, allocations: 440.5 kB / 498.2 MB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/0.4242, allocations: 4.521 MB / 0.4909 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.4258, allocations: 1.803 MB / 0.4927 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.4264, allocations: 119.4 kB / 0.4928 GB, free: 15.25 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4264, allocations: 4 kB / 0.4928 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Templates: time 0.2476/0.674, allocations: 70.06 MB / 0.5612 GB, free: 120.8 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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