Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.0009758, allocations: 92.16 kB / 17.3 MB, free: 6.391 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.001184/0.001184, allocations: 171.6 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004401, allocations: 15.98 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01026/0.1318, allocations: 8.31 MB / 337.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006696/0.1385, allocations: 2.86 MB / 340.1 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1401, allocations: 31.88 kB / 340.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.142, allocations: 0.5325 MB / 340.7 MB, free: 7.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1448, allocations: 0.6567 MB / 341.4 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.1456, allocations: 287.7 kB / 341.6 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003549/0.1492, allocations: 2.767 MB / 344.4 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.1511, allocations: 1.394 MB / 345.8 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.1528, allocations: 0.8245 MB / 346.6 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.1545, allocations: 1.163 MB / 347.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.1548, allocations: 124 kB / 347.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.1554, allocations: 219.8 kB / 348.1 MB, free: 484 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006872/0.1561, allocations: 0.6229 MB / 348.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.1574, allocations: 1.082 MB / 349.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.1609, allocations: 3.449 MB / 353.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1609, allocations: 4 kB / 353.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1609, allocations: 0 / 353.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.545e-05/0.161, allocations: 0 / 353.3 MB, free: 11.29 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.004524/0.1655, allocations: 2.185 MB / 355.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1656, allocations: 8.031 kB / 355.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006965/0.1663, allocations: 262.1 kB / 355.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.1684, allocations: 1.307 MB / 357 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1686, allocations: 132 kB / 357.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.1689, allocations: 192 kB / 357.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/0.1736, allocations: 2.413 MB / 359.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.1737, allocations: 15.84 kB / 359.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.1739, allocations: 72 kB / 359.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.174, allocations: 83.48 kB / 359.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.1777, allocations: 2.032 MB / 362 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.1903, allocations: 7.506 MB / 369.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.1924, allocations: 1.28 MB / 370.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.1941, allocations: 0.9081 MB / 371.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.1944, allocations: 122 kB / 371.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.1944, allocations: 43.56 kB / 371.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.1944, allocations: 4 kB / 371.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01013/0.2046, allocations: 5.04 MB / 376.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.2047, allocations: 64.41 kB / 376.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2069, allocations: 1.38 MB / 378.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.369e-05/0.207, allocations: 41.7 kB / 378.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.2079, allocations: 0.8931 MB / 379.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.2083, allocations: 358.9 kB / 379.6 MB, free: 368 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2085, allocations: 97.66 kB / 379.7 MB, free: 264 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2351/0.4436, allocations: 349.9 kB / 380 MB, free: 51.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4451, allocations: 0.6335 MB / 380.7 MB, free: 51.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.4465, allocations: 0.938 MB / 381.6 MB, free: 50.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.449, allocations: 1.663 MB / 383.3 MB, free: 50.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.449, allocations: 3.844 kB / 383.3 MB, free: 50.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004862/0.4539, allocations: 2.396 MB / 385.7 MB, free: 49.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.4539, allocations: 8.562 kB / 385.7 MB, free: 49.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.454, allocations: 13.45 kB / 385.7 MB, free: 49.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.456, allocations: 0.7122 MB / 386.4 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/0.4569, allocations: 243.9 kB / 386.6 MB, free: 49.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.4683, allocations: 8.028 MB / 394.7 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.4705, allocations: 85.12 kB / 394.7 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.4707, allocations: 47.34 kB / 394.8 MB, free: 44.56 MB / 318.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.001803/0.4725, allocations: 0.6257 MB / 395.4 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.473, allocations: 144.3 kB / 395.6 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.4776, allocations: 1.914 MB / 397.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4776, allocations: 13.94 kB / 397.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4777, allocations: 3.844 kB / 397.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4777, allocations: 7.453 kB / 397.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/0.4863, allocations: 4.033 MB / 401.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.4863, allocations: 0 / 401.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.4875, allocations: 186.8 kB / 401.7 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.4892, allocations: 463.5 kB / 402.2 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.4893, allocations: 31.91 kB / 402.2 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.4962, allocations: 6.157 MB / 408.4 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4963, allocations: 0 / 408.4 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/0.5019, allocations: 2.798 MB / 411.2 MB, free: 31.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.5029, allocations: 367 kB / 411.5 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.5032, allocations: 23.98 kB / 411.5 MB, free: 31.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.5044, allocations: 83.39 kB / 411.6 MB, free: 31.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.5047, allocations: 84.75 kB / 411.7 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.5048, allocations: 31.98 kB / 411.7 MB, free: 30.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.5065, allocations: 0.9504 MB / 412.7 MB, free: 30.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.5065, allocations: 0 / 412.7 MB, free: 30.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002085/0.5086, allocations: 435.7 kB / 413.1 MB, free: 29.61 MB / 318.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.0004079/0.5091, allocations: 182 kB / 413.3 MB, free: 29.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00416/0.5132, allocations: 2.008 MB / 415.3 MB, free: 27.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5133, allocations: 0 / 415.3 MB, free: 27.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.5157, allocations: 1.356 MB / 416.6 MB, free: 25.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.5188, allocations: 357.9 kB / 417 MB, free: 25.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008974/0.5278, allocations: 4.978 MB / 422 MB, free: 20.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.5294, allocations: 1.689 MB / 423.7 MB, free: 18.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001631/0.531, allocations: 316 kB / 424 MB, free: 18.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.5314, allocations: 95.42 kB / 424.1 MB, free: 18.48 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5314, allocations: 0 / 424.1 MB, free: 18.48 MB / 318.1 MB Notification: Performance of Templates: time 0.05153/0.583, allocations: 22.7 MB / 446.8 MB, free: 11.76 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches