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.001653/0.001653, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001905/0.001906, allocations: 191 kB / 19.29 MB, free: 3.848 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.705/1.705, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001425/0.001425, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01158/0.1378, allocations: 8.863 MB / 337.6 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.1449, allocations: 2.902 MB / 340.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.1463, allocations: 35.88 kB / 340.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.148, allocations: 0.6055 MB / 341.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.1504, allocations: 0.73 MB / 341.9 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.1513, allocations: 335.4 kB / 342.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.1541, allocations: 2.405 MB / 344.6 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.1562, allocations: 1.722 MB / 346.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.1578, allocations: 1.051 MB / 347.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.1596, allocations: 1.347 MB / 348.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.16, allocations: 280 kB / 349 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006544/0.1606, allocations: 363.8 kB / 349.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007861/0.1614, allocations: 0.8025 MB / 350.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.1628, allocations: 1.26 MB / 351.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.1664, allocations: 3.68 MB / 355.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1664, allocations: 0 / 355.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1664, allocations: 0 / 355.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.301e-05/0.1665, allocations: 4 kB / 355.1 MB, free: 9.238 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.005666/0.1722, allocations: 2.575 MB / 357.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1722, allocations: 8.031 kB / 357.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.1729, allocations: 262.1 kB / 357.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.1753, allocations: 1.307 MB / 359.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1754, allocations: 136 kB / 359.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.1757, allocations: 184 kB / 359.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/0.1796, allocations: 2.413 MB / 362 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.1797, allocations: 4 kB / 362 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.1798, allocations: 75.98 kB / 362 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.18, allocations: 87.48 kB / 362.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.1833, allocations: 2.016 MB / 364.1 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.1952, allocations: 7.362 MB / 371.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.1971, allocations: 1.272 MB / 372.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.1988, allocations: 0.912 MB / 373.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.1991, allocations: 114.1 kB / 373.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1992, allocations: 43.56 kB / 373.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.156e-06/0.1992, allocations: 0 / 373.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01028/0.2095, allocations: 5.001 MB / 378.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.2096, allocations: 68.41 kB / 378.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1667/0.3763, allocations: 1.371 MB / 380.3 MB, free: 51.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.3766, allocations: 43.7 kB / 380.3 MB, free: 51.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/0.3772, allocations: 0.8971 MB / 381.2 MB, free: 51.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.3774, allocations: 351.7 kB / 381.6 MB, free: 51.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.3777, allocations: 215.6 kB / 381.8 MB, free: 51.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.3778, allocations: 353.6 kB / 382.1 MB, free: 51.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.379, allocations: 0.6342 MB / 382.8 MB, free: 50.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.3803, allocations: 0.9209 MB / 383.7 MB, free: 50.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.3826, allocations: 1.651 MB / 385.3 MB, free: 49.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.3826, allocations: 6 kB / 385.3 MB, free: 49.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004328/0.387, allocations: 2.39 MB / 387.7 MB, free: 48.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.387, allocations: 14.33 kB / 387.7 MB, free: 48.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.387, allocations: 8.469 kB / 387.8 MB, free: 48.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.3889, allocations: 0.7082 MB / 388.5 MB, free: 48.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.3898, allocations: 233.8 kB / 388.7 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.3993, allocations: 8.741 MB / 397.4 MB, free: 43.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4007, allocations: 80.41 kB / 397.5 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.4008, allocations: 45.45 kB / 397.6 MB, free: 43.09 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.001132/0.402, allocations: 0.6337 MB / 398.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.4022, allocations: 144.8 kB / 398.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.4049, allocations: 1.893 MB / 400.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4049, allocations: 7.875 kB / 400.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4049, allocations: 3.844 kB / 400.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.405, allocations: 7.406 kB / 400.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/0.4106, allocations: 4.003 MB / 404.2 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4106, allocations: 0 / 404.2 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.4113, allocations: 188 kB / 404.4 MB, free: 39.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009792/0.4123, allocations: 462.6 kB / 404.9 MB, free: 38.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.4124, allocations: 32.78 kB / 404.9 MB, free: 38.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.4171, allocations: 6.688 MB / 411.6 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4171, allocations: 4.031 kB / 411.6 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.4205, allocations: 2.768 MB / 414.4 MB, free: 28.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/0.4213, allocations: 359.2 kB / 414.7 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.4214, allocations: 31.92 kB / 414.7 MB, free: 28.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.4222, allocations: 75.02 kB / 414.8 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.4224, allocations: 76.88 kB / 414.9 MB, free: 28.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.4224, allocations: 31.98 kB / 414.9 MB, free: 28.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.4236, allocations: 0.9542 MB / 415.9 MB, free: 27.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4236, allocations: 0 / 415.9 MB, free: 27.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001376/0.425, allocations: 438.6 kB / 416.3 MB, free: 26.83 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.0003046/0.4253, allocations: 182.5 kB / 416.5 MB, free: 26.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.4281, allocations: 2.009 MB / 418.5 MB, free: 24.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4281, allocations: 0 / 418.5 MB, free: 24.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.4297, allocations: 1.341 MB / 419.8 MB, free: 23.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.4313, allocations: 388.6 kB / 420.2 MB, free: 22.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.4365, allocations: 4.019 MB / 424.2 MB, free: 18.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.4376, allocations: 1.692 MB / 425.9 MB, free: 17.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009202/0.4386, allocations: 308 kB / 426.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4388, allocations: 99.42 kB / 426.3 MB, free: 16.69 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4388, allocations: 0 / 426.3 MB, free: 16.69 MB / 318.1 MB Notification: Performance of Templates: time 0.03563/0.4745, allocations: 24.04 MB / 450.4 MB, free: 8.645 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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