Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001517/0.001517, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.9/1.9, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001152/0.001152, allocations: 105 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 12 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5042, allocations: 103.8 MB / 478.3 MB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.5046, allocations: 91.95 kB / 478.4 MB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4472/0.9518, allocations: 44.45 MB / 0.5106 GB, free: 95.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.9519, allocations: 3.531 kB / 0.5106 GB, free: 95.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002216/0.9521, allocations: 52.28 kB / 0.5106 GB, free: 95.63 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.008153/0.9603, allocations: 2.447 MB / 0.513 GB, free: 94.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.9604, allocations: 7.75 kB / 0.513 GB, free: 94.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.9619, allocations: 293.5 kB / 0.5133 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/0.9664, allocations: 1.549 MB / 0.5148 GB, free: 93.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.9666, allocations: 154.2 kB / 0.515 GB, free: 93.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005538/0.9671, allocations: 204.5 kB / 0.5152 GB, free: 93.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/0.974, allocations: 2.712 MB / 0.5178 GB, free: 91.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.57e-05/0.9742, allocations: 7.844 kB / 0.5178 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.9745, allocations: 90.09 kB / 0.5179 GB, free: 91.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.9746, allocations: 88.83 kB / 0.518 GB, free: 91.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.9811, allocations: 2.23 MB / 0.5202 GB, free: 91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/1.002, allocations: 8.454 MB / 0.5284 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/1.006, allocations: 1.816 MB / 0.5302 GB, free: 84.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/1.006, allocations: 134.1 kB / 0.5303 GB, free: 83.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.006, allocations: 51.48 kB / 0.5304 GB, free: 83.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.706e-06/1.006, allocations: 0 / 0.5304 GB, free: 83.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.02157/1.028, allocations: 6.431 MB / 0.5367 GB, free: 77.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/1.028, allocations: 76.34 kB / 0.5367 GB, free: 77.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/1.031, allocations: 1.314 MB / 0.538 GB, free: 75.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003245/1.031, allocations: 49.7 kB / 0.5381 GB, free: 75.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006216/1.032, allocations: 0.9375 MB / 0.539 GB, free: 74.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/1.032, allocations: 421.6 kB / 0.5394 GB, free: 74.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.032, allocations: 24 kB / 0.5394 GB, free: 74.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/1.032, allocations: 370.8 kB / 0.5398 GB, free: 74.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.034, allocations: 0.7456 MB / 0.5405 GB, free: 73.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/1.036, allocations: 1.046 MB / 0.5415 GB, free: 72.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/1.038, allocations: 0.8886 MB / 0.5424 GB, free: 71.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/1.039, allocations: 4 kB / 0.5424 GB, free: 71.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005916/1.044, allocations: 2.26 MB / 0.5446 GB, free: 69.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/1.045, allocations: 8 kB / 0.5446 GB, free: 69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.045, allocations: 15.31 kB / 0.5446 GB, free: 68.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/1.046, allocations: 411.3 kB / 0.545 GB, free: 68.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/1.049, allocations: 339.5 kB / 0.5453 GB, free: 68.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/1.055, allocations: 4.738 MB / 0.5499 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.057, allocations: 103.9 kB / 0.55 GB, free: 63.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/1.058, allocations: 55.94 kB / 0.5501 GB, free: 63.09 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.001685/1.059, allocations: 0.7009 MB / 0.5508 GB, free: 62.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/1.06, allocations: 166 kB / 0.5509 GB, free: 62.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006039/1.066, allocations: 2.188 MB / 0.5531 GB, free: 60 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.066, allocations: 12 kB / 0.5531 GB, free: 59.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.066, allocations: 7.938 kB / 0.5531 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.066, allocations: 3.984 kB / 0.5531 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.078, allocations: 4.597 MB / 0.5576 GB, free: 55.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.078, allocations: 4.281 kB / 0.5576 GB, free: 55.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.08, allocations: 239.6 kB / 0.5578 GB, free: 55.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/1.082, allocations: 470.8 kB / 0.5583 GB, free: 54.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/1.082, allocations: 31.98 kB / 0.5583 GB, free: 54.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008067/1.091, allocations: 6.305 MB / 0.5645 GB, free: 47.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.091, allocations: 4 kB / 0.5645 GB, free: 47.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007921/1.098, allocations: 3.39 MB / 0.5678 GB, free: 44.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.1, allocations: 403 kB / 0.5682 GB, free: 43.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/1.101, allocations: 31.98 kB / 0.5682 GB, free: 43.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.103, allocations: 79.92 kB / 0.5683 GB, free: 43.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/1.103, allocations: 116.7 kB / 0.5684 GB, free: 43.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.103, allocations: 32 kB / 0.5684 GB, free: 43.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002306/1.106, allocations: 1.02 MB / 0.5694 GB, free: 42.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.106, allocations: 0 / 0.5694 GB, free: 42.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002435/1.108, allocations: 499.9 kB / 0.5699 GB, free: 42.18 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.0006781/1.109, allocations: 305.1 kB / 0.5702 GB, free: 41.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005366/1.114, allocations: 2.305 MB / 0.5724 GB, free: 39.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.114, allocations: 0.5625 kB / 0.5724 GB, free: 39.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/1.118, allocations: 1.515 MB / 0.5739 GB, free: 37.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.121, allocations: 418.7 kB / 0.5743 GB, free: 37.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.132, allocations: 5.368 MB / 0.5795 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/1.134, allocations: 1.838 MB / 0.5813 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000851/1.135, allocations: 119.4 kB / 0.5815 GB, free: 30.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/1.135, allocations: 0 / 0.5815 GB, free: 30.12 MB / 378.7 MB Notification: Performance of Templates: time 0.3856/1.52, allocations: 67.1 MB / 0.647 GB, free: 116.3 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches