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.001391/0.001392, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.978/1.978, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.001015/0.001015, allocations: 89.23 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3834, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5507, allocations: 103.8 MB / 479.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004076/0.5511, allocations: 87.95 kB / 479.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.454/1.005, allocations: 44.47 MB / 0.5118 GB, free: 95.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.005, allocations: 0 / 0.5118 GB, free: 95.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002112/1.005, allocations: 50.75 kB / 0.5119 GB, free: 95.81 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007466/1.013, allocations: 2.442 MB / 0.5143 GB, free: 94.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/1.013, allocations: 7.531 kB / 0.5143 GB, free: 94.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.015, allocations: 298.8 kB / 0.5146 GB, free: 94.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/1.019, allocations: 1.545 MB / 0.5161 GB, free: 93.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/1.019, allocations: 150.2 kB / 0.5162 GB, free: 93.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/1.02, allocations: 206.1 kB / 0.5164 GB, free: 93.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/1.025, allocations: 2.718 MB / 0.5191 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/1.025, allocations: 6.562 kB / 0.5191 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/1.025, allocations: 88.28 kB / 0.5192 GB, free: 92.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.788e-05/1.025, allocations: 86.61 kB / 0.5192 GB, free: 92.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/1.03, allocations: 2.235 MB / 0.5214 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/1.046, allocations: 8.451 MB / 0.5297 GB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.048, allocations: 1.813 MB / 0.5314 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/1.048, allocations: 138 kB / 0.5316 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.048, allocations: 43.56 kB / 0.5316 GB, free: 83.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 5.38e-06/1.048, allocations: 0 / 0.5316 GB, free: 83.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01449/1.063, allocations: 6.444 MB / 0.5379 GB, free: 77.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.063, allocations: 68.36 kB / 0.538 GB, free: 77.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/1.066, allocations: 1.318 MB / 0.5393 GB, free: 75.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.066, allocations: 49.7 kB / 0.5393 GB, free: 75.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/1.066, allocations: 0.9719 MB / 0.5403 GB, free: 74.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/1.067, allocations: 429.6 kB / 0.5407 GB, free: 74.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/1.067, allocations: 24 kB / 0.5407 GB, free: 74.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/1.067, allocations: 361.9 kB / 0.541 GB, free: 73.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.068, allocations: 0.7456 MB / 0.5418 GB, free: 73.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.069, allocations: 1.046 MB / 0.5428 GB, free: 71.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.071, allocations: 0.8886 MB / 0.5437 GB, free: 71.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/1.071, allocations: 4 kB / 0.5437 GB, free: 71.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003838/1.074, allocations: 2.368 MB / 0.546 GB, free: 68.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.074, allocations: 8 kB / 0.546 GB, free: 68.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.074, allocations: 8 kB / 0.546 GB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009821/1.075, allocations: 415.4 kB / 0.5464 GB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.077, allocations: 339.5 kB / 0.5467 GB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/1.081, allocations: 4.747 MB / 0.5513 GB, free: 62.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.083, allocations: 91.81 kB / 0.5514 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/1.083, allocations: 55.98 kB / 0.5515 GB, free: 62.79 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked 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.001876/1.085, allocations: 0.7102 MB / 0.5522 GB, free: 62.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000625/1.085, allocations: 162 kB / 0.5523 GB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/1.089, allocations: 2.188 MB / 0.5545 GB, free: 59.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.089, allocations: 15.98 kB / 0.5545 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.089, allocations: 4 kB / 0.5545 GB, free: 59.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.089, allocations: 3.984 kB / 0.5545 GB, free: 59.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009221/1.099, allocations: 4.601 MB / 0.559 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.099, allocations: 4 kB / 0.559 GB, free: 54.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.1, allocations: 227.9 kB / 0.5592 GB, free: 54.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/1.101, allocations: 485.2 kB / 0.5597 GB, free: 54.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.101, allocations: 27.98 kB / 0.5597 GB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005468/1.107, allocations: 6.302 MB / 0.5658 GB, free: 47.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.107, allocations: 4.031 kB / 0.5659 GB, free: 47.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/1.112, allocations: 3.386 MB / 0.5692 GB, free: 44.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.114, allocations: 403 kB / 0.5695 GB, free: 43.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/1.114, allocations: 32 kB / 0.5696 GB, free: 43.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.115, allocations: 87.84 kB / 0.5697 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/1.116, allocations: 112.8 kB / 0.5698 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.116, allocations: 35.98 kB / 0.5698 GB, free: 43.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001992/1.118, allocations: 1.016 MB / 0.5708 GB, free: 42.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.118, allocations: 0 / 0.5708 GB, free: 42.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002376/1.12, allocations: 495.9 kB / 0.5713 GB, free: 41.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.000639/1.121, allocations: 303.8 kB / 0.5716 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003625/1.125, allocations: 2.305 MB / 0.5738 GB, free: 39.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.125, allocations: 0 / 0.5738 GB, free: 39.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.127, allocations: 1.516 MB / 0.5753 GB, free: 37.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.13, allocations: 418.9 kB / 0.5757 GB, free: 37.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.141, allocations: 5.308 MB / 0.5809 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.144, allocations: 1.865 MB / 0.5827 GB, free: 29.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002104/1.146, allocations: 397.5 kB / 0.5831 GB, free: 29.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008245/1.147, allocations: 107.4 kB / 0.5832 GB, free: 29.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.374e-06/1.147, allocations: 4 kB / 0.5832 GB, free: 29.46 MB / 378.7 MB Notification: Performance of Templates: time 0.05324/1.2, allocations: 25.75 MB / 0.6083 GB, free: 3.715 MB / 378.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