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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 105.7 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008406/0.0008407, allocations: 31.95 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2435, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007397/0.251, allocations: 8.842 MB / 408.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.2551, allocations: 2.842 MB / 411.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/0.256, allocations: 39.81 kB / 411.2 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2573, allocations: 0.5245 MB / 411.7 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.259, allocations: 0.6722 MB / 412.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.2598, allocations: 279.7 kB / 412.7 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.2629, allocations: 2.765 MB / 415.4 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.2647, allocations: 1.457 MB / 416.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.2661, allocations: 0.9261 MB / 417.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.2675, allocations: 1.296 MB / 419.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.2679, allocations: 172 kB / 419.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.2686, allocations: 275.8 kB / 419.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.2692, allocations: 0.6893 MB / 420.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.2704, allocations: 1.143 MB / 421.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.2728, allocations: 3.555 MB / 424.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2728, allocations: 3.938 kB / 424.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2728, allocations: 0 / 424.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.2728, allocations: 3.938 kB / 424.9 MB, free: 7.773 MB / 298.7 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.004794/0.2776, allocations: 2.567 MB / 427.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2777, allocations: 8.031 kB / 427.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.2783, allocations: 262.1 kB / 427.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.2802, allocations: 1.346 MB / 429.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.2803, allocations: 140 kB / 429.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.2805, allocations: 192 kB / 429.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.2835, allocations: 2.406 MB / 431.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.2835, allocations: 4 kB / 431.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.2837, allocations: 76 kB / 431.9 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/0.2837, allocations: 87.48 kB / 432 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.2869, allocations: 2.016 MB / 434 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.2986, allocations: 7.459 MB / 441.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3005, allocations: 1.271 MB / 442.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.3022, allocations: 0.9081 MB / 443.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.3024, allocations: 122.1 kB / 443.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3025, allocations: 43.56 kB / 443.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/0.3025, allocations: 3.938 kB / 443.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.009219/0.3117, allocations: 4.882 MB / 448.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3118, allocations: 60.41 kB / 448.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.3138, allocations: 1.376 MB / 450.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3139, allocations: 45.7 kB / 450.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006262/0.3145, allocations: 0.9008 MB / 451.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.3148, allocations: 350.9 kB / 451.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.3152, allocations: 218.8 kB / 451.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3153, allocations: 353.9 kB / 452 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/0.3163, allocations: 0.6311 MB / 452.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.3174, allocations: 0.9297 MB / 453.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.3195, allocations: 1.641 MB / 455.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.3195, allocations: 7.938 kB / 455.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004307/0.3239, allocations: 2.386 MB / 457.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.3239, allocations: 8 kB / 457.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.3239, allocations: 8 kB / 457.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.3258, allocations: 0.716 MB / 458.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/0.3266, allocations: 235.7 kB / 458.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009845/0.3365, allocations: 8.015 MB / 466.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3377, allocations: 83.81 kB / 466.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.3378, allocations: 44 kB / 466.7 MB, free: 12.87 MB / 346.7 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.001111/0.339, allocations: 0.6264 MB / 467.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/0.3394, allocations: 146.2 kB / 467.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.3432, allocations: 1.901 MB / 469.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.3433, allocations: 8 kB / 469.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.3433, allocations: 7.938 kB / 469.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3433, allocations: 3.984 kB / 469.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008372/0.3517, allocations: 4.01 MB / 473.4 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3517, allocations: 0 / 473.4 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/0.3526, allocations: 187.7 kB / 473.6 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.3538, allocations: 467.8 kB / 474 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.3539, allocations: 23.98 kB / 474.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/0.3604, allocations: 6.154 MB / 480.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3604, allocations: 0 / 480.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03311/0.3935, allocations: 21.23 MB / 0.4897 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009677/0.3945, allocations: 363.2 kB / 0.49 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.3949, allocations: 23.98 kB / 0.4901 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.396, allocations: 67.92 kB / 0.4901 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.3963, allocations: 88.84 kB / 0.4902 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.3964, allocations: 28 kB / 0.4902 GB, free: 8.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001928/0.3983, allocations: 0.9504 MB / 0.4912 GB, free: 7.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3984, allocations: 0 / 0.4912 GB, free: 7.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002627/0.401, allocations: 0.6055 MB / 0.4918 GB, free: 6.805 MB / 378.7 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.0005735/0.4016, allocations: 178 kB / 0.4919 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.4056, allocations: 2.004 MB / 0.4939 GB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.4057, allocations: 4.062 kB / 0.4939 GB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.408, allocations: 1.343 MB / 0.4952 GB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.4105, allocations: 355 kB / 0.4955 GB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1683/0.5789, allocations: 6.124 MB / 0.5015 GB, free: 94.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.5802, allocations: 1.728 MB / 0.5032 GB, free: 94.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.5812, allocations: 329 kB / 0.5035 GB, free: 94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.5815, allocations: 104.9 kB / 0.5036 GB, free: 93.99 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5815, allocations: 2.188 kB / 0.5036 GB, free: 93.99 MB / 378.7 MB Notification: Performance of Templates: time 0.03736/0.6189, allocations: 28.26 MB / 0.5312 GB, free: 72.39 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../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