Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.46/1.46, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007863/0.0007864, allocations: 82.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.253e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6079, allocations: 103.7 MB / 473.7 MB, free: 5.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.6083, allocations: 86.67 kB / 473.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1288/0.7371, allocations: 44.56 MB / 0.5062 GB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.7372, allocations: 0 / 0.5062 GB, free: 10.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001426/0.7373, allocations: 59.94 kB / 0.5062 GB, free: 10.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004392/0.7417, allocations: 2.177 MB / 0.5084 GB, free: 7.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.7418, allocations: 11.97 kB / 0.5084 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.7426, allocations: 292.9 kB / 0.5086 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.7455, allocations: 1.542 MB / 0.5102 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7456, allocations: 148 kB / 0.5103 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.7459, allocations: 207.9 kB / 0.5105 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/0.7503, allocations: 2.644 MB / 0.5131 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.7504, allocations: 4 kB / 0.5131 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.7506, allocations: 87.98 kB / 0.5132 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.216e-05/0.7507, allocations: 87.94 kB / 0.5132 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.7546, allocations: 2.132 MB / 0.5153 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.7683, allocations: 8.446 MB / 0.5236 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.7703, allocations: 1.771 MB / 0.5253 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.7718, allocations: 0.9567 MB / 0.5262 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.7722, allocations: 146 kB / 0.5264 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.7722, allocations: 43.56 kB / 0.5264 GB, free: 4.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.855e-06/0.7722, allocations: 0 / 0.5264 GB, free: 4.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.2177/0.99, allocations: 5.231 MB / 0.5315 GB, free: 103.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.99, allocations: 65.84 kB / 0.5316 GB, free: 103.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.9925, allocations: 1.306 MB / 0.5329 GB, free: 103.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.9928, allocations: 46.05 kB / 0.5329 GB, free: 103.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/0.9934, allocations: 0.9793 MB / 0.5339 GB, free: 103.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.9938, allocations: 425.8 kB / 0.5343 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.9939, allocations: 26.06 kB / 0.5343 GB, free: 103.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.994, allocations: 362.9 kB / 0.5346 GB, free: 102.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.9951, allocations: 0.6971 MB / 0.5353 GB, free: 102.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.9963, allocations: 1 MB / 0.5363 GB, free: 102.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.9977, allocations: 0.8461 MB / 0.5371 GB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9977, allocations: 2.812 kB / 0.5371 GB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004207/1.002, allocations: 2.269 MB / 0.5393 GB, free: 102.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.002, allocations: 8.312 kB / 0.5394 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.002, allocations: 11.83 kB / 0.5394 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.003, allocations: 408.5 kB / 0.5398 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.004, allocations: 342.8 kB / 0.5401 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/1.009, allocations: 4.635 MB / 0.5446 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.011, allocations: 95.55 kB / 0.5447 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.011, allocations: 52.88 kB / 0.5447 GB, free: 99.75 MB / 410.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002968/1.011, allocations: 183.2 kB / 0.5449 GB, free: 99.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/1.011, allocations: 161.5 kB / 0.5451 GB, free: 99.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/1.015, allocations: 2.106 MB / 0.5471 GB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.015, allocations: 12.86 kB / 0.5471 GB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.015, allocations: 6.094 kB / 0.5472 GB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/1.015, allocations: 7.234 kB / 0.5472 GB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/1.023, allocations: 4.526 MB / 0.5516 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.023, allocations: 1.312 kB / 0.5516 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009772/1.024, allocations: 239.1 kB / 0.5518 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/1.025, allocations: 469.8 kB / 0.5523 GB, free: 98.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.11e-05/1.026, allocations: 35.09 kB / 0.5523 GB, free: 98.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/1.03, allocations: 6.172 MB / 0.5583 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.03, allocations: 3.469 kB / 0.5583 GB, free: 94.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/1.035, allocations: 3.3 MB / 0.5615 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.036, allocations: 397.4 kB / 0.5619 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.036, allocations: 31.16 kB / 0.562 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/1.037, allocations: 84.41 kB / 0.562 GB, free: 92.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/1.037, allocations: 109.8 kB / 0.5621 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/1.037, allocations: 38.05 kB / 0.5622 GB, free: 92.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001452/1.039, allocations: 1.002 MB / 0.5632 GB, free: 91.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.039, allocations: 2.5 kB / 0.5632 GB, free: 91.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001635/1.04, allocations: 498 kB / 0.5636 GB, free: 91.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.000604/1.041, allocations: 297.7 kB / 0.5639 GB, free: 91.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/1.044, allocations: 2.205 MB / 0.5661 GB, free: 90.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.044, allocations: 0 / 0.5661 GB, free: 90.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/1.046, allocations: 1.476 MB / 0.5675 GB, free: 89.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.047, allocations: 410.8 kB / 0.5679 GB, free: 89.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/1.054, allocations: 3.718 MB / 0.5715 GB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.056, allocations: 1.867 MB / 0.5734 GB, free: 87.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002231/1.058, allocations: 398 kB / 0.5737 GB, free: 87.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/1.059, allocations: 107 kB / 0.5738 GB, free: 87.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/1.059, allocations: 1.875 kB / 0.5738 GB, free: 87.3 MB / 410.7 MB Notification: Performance of Templates: time 0.06221/1.121, allocations: 26.08 MB / 0.5993 GB, free: 79.97 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches