Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.001118/0.001118, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.375/1.375, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 43.44 kB / 300.8 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1037, allocations: 49.46 MB / 350.2 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009448/0.1132, allocations: 8.854 MB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005239/0.1185, allocations: 2.832 MB / 361.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1198, allocations: 39.81 kB / 362 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.1218, allocations: 0.5362 MB / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1243, allocations: 0.6488 MB / 363.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.1252, allocations: 283.7 kB / 363.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.1281, allocations: 2.362 MB / 365.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.13, allocations: 1.758 MB / 367.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.1314, allocations: 1.071 MB / 368.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.1332, allocations: 1.37 MB / 370 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004385/0.1336, allocations: 276 kB / 370.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.1343, allocations: 367.8 kB / 370.6 MB, free: 164 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1943/0.3287, allocations: 0.7995 MB / 371.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.331, allocations: 1.258 MB / 372.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.3356, allocations: 3.071 MB / 375.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3356, allocations: 0 / 375.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3356, allocations: 0 / 375.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001226/0.3357, allocations: 0 / 375.8 MB, free: 13.25 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006902/0.3426, allocations: 2.579 MB / 378.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3427, allocations: 9.344 kB / 378.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008496/0.3436, allocations: 262.1 kB / 378.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.3459, allocations: 1.348 MB / 379.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.346, allocations: 134.5 kB / 380.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.3463, allocations: 187.8 kB / 380.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.3512, allocations: 2.409 MB / 382.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.3512, allocations: 2.938 kB / 382.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.3514, allocations: 78.81 kB / 382.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.3516, allocations: 87.62 kB / 382.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.3553, allocations: 2.018 MB / 384.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.3676, allocations: 7.455 MB / 392.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3693, allocations: 1.279 MB / 393.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.3709, allocations: 0.9042 MB / 394.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.3711, allocations: 123.4 kB / 394.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3711, allocations: 46.69 kB / 394.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.3712, allocations: 0 / 394.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.008736/0.3799, allocations: 4.887 MB / 399.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.38, allocations: 61.09 kB / 399.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.3819, allocations: 1.371 MB / 401 MB, free: 336 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3821, allocations: 48.42 kB / 401 MB, free: 288 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000766/0.3829, allocations: 0.9126 MB / 401.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.3832, allocations: 352.1 kB / 402.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.3835, allocations: 217.8 kB / 402.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3837, allocations: 355.7 kB / 402.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3847, allocations: 0.6318 MB / 403.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3859, allocations: 0.9279 MB / 404.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.3881, allocations: 1.648 MB / 406 MB, free: 11.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3881, allocations: 0 / 406 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004296/0.3924, allocations: 2.386 MB / 408.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.3925, allocations: 8 kB / 408.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.3926, allocations: 12.86 kB / 408.4 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.3945, allocations: 0.7189 MB / 409.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.3954, allocations: 238.9 kB / 409.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.4059, allocations: 8.743 MB / 418.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.4075, allocations: 75.92 kB / 418.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.4077, allocations: 55.92 kB / 418.3 MB, free: 15.15 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001349/0.4091, allocations: 0.6213 MB / 418.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.4095, allocations: 146.3 kB / 419 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/0.4128, allocations: 1.903 MB / 420.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.4129, allocations: 8 kB / 420.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4129, allocations: 4 kB / 421 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.4129, allocations: 3.984 kB / 421 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.4197, allocations: 4.013 MB / 425 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.4197, allocations: 4.219 kB / 425 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.4206, allocations: 180.2 kB / 425.1 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.4218, allocations: 477.3 kB / 425.6 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/0.4219, allocations: 27.98 kB / 425.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/0.4284, allocations: 6.689 MB / 432.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4284, allocations: 8.094 kB / 432.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/0.4328, allocations: 2.771 MB / 435.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000896/0.4338, allocations: 359.2 kB / 435.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.434, allocations: 24 kB / 435.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.4348, allocations: 67.92 kB / 435.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.4351, allocations: 83.88 kB / 435.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.4352, allocations: 31.98 kB / 435.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.4367, allocations: 0.9504 MB / 436.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4367, allocations: 0 / 436.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001711/0.4384, allocations: 432 kB / 437 MB, free: 11.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0004133/0.4388, allocations: 179.7 kB / 437.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.4431, allocations: 2.372 MB / 439.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4431, allocations: 128 / 439.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.4452, allocations: 1.351 MB / 440.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.4475, allocations: 375.5 kB / 441.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007345/0.4548, allocations: 4.883 MB / 446.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.4562, allocations: 1.673 MB / 447.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.4568, allocations: 103.4 kB / 448 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4568, allocations: 0 / 448 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Templates: time 0.06467/0.5215, allocations: 52.59 MB / 0.4888 GB, free: 12.35 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches