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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009874/0.000987, allocations: 88.16 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.305, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4373, allocations: 102.7 MB / 478.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.4377, allocations: 91.89 kB / 478.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3871/0.8249, allocations: 40.99 MB / 0.5074 GB, free: 96.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.888e-06/0.8249, allocations: 4 kB / 0.5074 GB, free: 96.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003342/0.8253, allocations: 49.75 kB / 0.5074 GB, free: 96.13 MB / 378.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.008591/0.8339, allocations: 2.215 MB / 0.5096 GB, free: 95.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.834, allocations: 9.344 kB / 0.5096 GB, free: 95.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.8357, allocations: 263.9 kB / 0.5099 GB, free: 94.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.8403, allocations: 1.436 MB / 0.5113 GB, free: 94.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.8405, allocations: 138.9 kB / 0.5114 GB, free: 94.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009302/0.8415, allocations: 173.9 kB / 0.5116 GB, free: 94.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.8476, allocations: 2.383 MB / 0.5139 GB, free: 93.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.8478, allocations: 11.23 kB / 0.5139 GB, free: 93.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.8482, allocations: 82.56 kB / 0.514 GB, free: 93.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.8483, allocations: 78.53 kB / 0.5141 GB, free: 93.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00444/0.8528, allocations: 1.936 MB / 0.5159 GB, free: 92.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.8654, allocations: 7.492 MB / 0.5233 GB, free: 88.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.8672, allocations: 1.319 MB / 0.5246 GB, free: 88.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.8675, allocations: 129.9 kB / 0.5247 GB, free: 88.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.8675, allocations: 46.97 kB / 0.5247 GB, free: 88.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 4.017e-06/0.8675, allocations: 0 / 0.5247 GB, free: 88.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.008914/0.8764, allocations: 5.074 MB / 0.5297 GB, free: 85.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.8765, allocations: 60.41 kB / 0.5297 GB, free: 85.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.8783, allocations: 1.192 MB / 0.5309 GB, free: 84.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.8785, allocations: 45.7 kB / 0.5309 GB, free: 84.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.879, allocations: 0.8885 MB / 0.5318 GB, free: 83.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.8793, allocations: 358.5 kB / 0.5322 GB, free: 82.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.8793, allocations: 24 kB / 0.5322 GB, free: 82.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8795, allocations: 361.9 kB / 0.5325 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.8805, allocations: 0.6506 MB / 0.5332 GB, free: 81.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8816, allocations: 0.9414 MB / 0.5341 GB, free: 80.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.8827, allocations: 0.7838 MB / 0.5348 GB, free: 80.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.8827, allocations: 8 kB / 0.5348 GB, free: 80.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004042/0.8867, allocations: 2.465 MB / 0.5373 GB, free: 77.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.8868, allocations: 8 kB / 0.5373 GB, free: 77.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.8868, allocations: 8 kB / 0.5373 GB, free: 77.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.8887, allocations: 0.7782 MB / 0.538 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.8895, allocations: 235.6 kB / 0.5383 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/0.8993, allocations: 8.88 MB / 0.5469 GB, free: 67.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9008, allocations: 79.92 kB / 0.547 GB, free: 67.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.9009, allocations: 54.67 kB / 0.5471 GB, free: 67.29 MB / 378.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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00123/0.9021, allocations: 0.6347 MB / 0.5477 GB, free: 66.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.9025, allocations: 142.2 kB / 0.5478 GB, free: 66.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.9055, allocations: 1.948 MB / 0.5497 GB, free: 64.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9055, allocations: 16 kB / 0.5497 GB, free: 64.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9055, allocations: 4 kB / 0.5497 GB, free: 64.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.9055, allocations: 3.984 kB / 0.5497 GB, free: 64.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/0.9116, allocations: 4.038 MB / 0.5537 GB, free: 60.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.9116, allocations: 0 / 0.5537 GB, free: 60.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.9124, allocations: 200 kB / 0.5539 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.9136, allocations: 472 kB / 0.5543 GB, free: 59.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/0.9137, allocations: 31.97 kB / 0.5544 GB, free: 59.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.9185, allocations: 6.314 MB / 0.5605 GB, free: 53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9185, allocations: 0 / 0.5605 GB, free: 53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.9226, allocations: 2.951 MB / 0.5634 GB, free: 49.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/0.9236, allocations: 363.2 kB / 0.5637 GB, free: 49.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.9238, allocations: 23.95 kB / 0.5638 GB, free: 49.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.9246, allocations: 75.92 kB / 0.5638 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.9248, allocations: 84.81 kB / 0.5639 GB, free: 49.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.9249, allocations: 35.98 kB / 0.564 GB, free: 49.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.9261, allocations: 0.923 MB / 0.5649 GB, free: 48.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9262, allocations: 0 / 0.5649 GB, free: 48.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001758/0.9279, allocations: 472 kB / 0.5653 GB, free: 48 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.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * 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 (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000526/0.9285, allocations: 289.3 kB / 0.5656 GB, free: 47.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003183/0.9317, allocations: 2.095 MB / 0.5676 GB, free: 45.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9317, allocations: 0 / 0.5676 GB, free: 45.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.9336, allocations: 1.375 MB / 0.569 GB, free: 44.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.9356, allocations: 362.5 kB / 0.5693 GB, free: 43.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/0.9425, allocations: 4.787 MB / 0.574 GB, free: 39.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.944, allocations: 1.732 MB / 0.5757 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00152/0.9455, allocations: 312.1 kB / 0.576 GB, free: 36.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.9459, allocations: 91.42 kB / 0.5761 GB, free: 36.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.775e-06/0.9459, allocations: 0 / 0.5761 GB, free: 36.86 MB / 378.7 MB Notification: Performance of Templates: time 0.04357/0.9894, allocations: 24.48 MB / 0.6 GB, free: 12.39 MB / 378.7 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