Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 180.7 kB / 17.02 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 2.057/2.057, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009387/0.0009385, allocations: 88.22 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003682, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.4858, allocations: 110.2 MB / 486 MB, free: 2.398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/0.4863, allocations: 91.95 kB / 486.1 MB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4672/0.9535, allocations: 65.06 MB / 0.5383 GB, free: 79.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.842e-06/0.9537, allocations: 4 kB / 0.5383 GB, free: 79.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007837/0.9545, allocations: 83.94 kB / 0.5383 GB, free: 79.21 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0168/0.9713, allocations: 3.654 MB / 0.5419 GB, free: 75.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.9714, allocations: 8.031 kB / 0.5419 GB, free: 75.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.9749, allocations: 443.1 kB / 0.5423 GB, free: 75.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009025/0.984, allocations: 2.394 MB / 0.5447 GB, free: 72.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.9844, allocations: 234.2 kB / 0.5449 GB, free: 72.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.9863, allocations: 307.9 kB / 0.5452 GB, free: 72.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/1, allocations: 4.338 MB / 0.5494 GB, free: 67.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/1, allocations: 7.938 kB / 0.5494 GB, free: 67.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009843/1.001, allocations: 136 kB / 0.5496 GB, free: 67.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/1.002, allocations: 122 kB / 0.5497 GB, free: 67.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/1.009, allocations: 3.619 MB / 0.5532 GB, free: 63.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/1.038, allocations: 13.61 MB / 0.5665 GB, free: 49.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/1.042, allocations: 2.958 MB / 0.5694 GB, free: 46.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/1.043, allocations: 135.1 kB / 0.5695 GB, free: 46.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.043, allocations: 56.56 kB / 0.5696 GB, free: 46.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.248e-06/1.043, allocations: 0 / 0.5696 GB, free: 46.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.0197/1.062, allocations: 9.423 MB / 0.5788 GB, free: 36.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/1.063, allocations: 77.34 kB / 0.5789 GB, free: 36.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/1.067, allocations: 2.069 MB / 0.5809 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004205/1.068, allocations: 57.7 kB / 0.5809 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.069, allocations: 1.458 MB / 0.5824 GB, free: 33.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007151/1.07, allocations: 0.6161 MB / 0.583 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/1.07, allocations: 44 kB / 0.583 GB, free: 32.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/1.07, allocations: 385.9 kB / 0.5834 GB, free: 32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/1.072, allocations: 1.152 MB / 0.5845 GB, free: 30.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/1.074, allocations: 1.553 MB / 0.586 GB, free: 29.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/1.076, allocations: 1.364 MB / 0.5873 GB, free: 27.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/1.076, allocations: 4 kB / 0.5873 GB, free: 27.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007114/1.083, allocations: 3.616 MB / 0.5909 GB, free: 24.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/1.083, allocations: 8 kB / 0.5909 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/1.083, allocations: 19.97 kB / 0.5909 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/1.085, allocations: 0.8022 MB / 0.5917 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.087, allocations: 463.3 kB / 0.5921 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/1.096, allocations: 10.51 MB / 0.6024 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/1.099, allocations: 131.8 kB / 0.6025 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005283/1.099, allocations: 72 kB / 0.6026 GB, free: 11.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003052/1.102, allocations: 1.094 MB / 0.6036 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.104, allocations: 245.1 kB / 0.6039 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006208/1.11, allocations: 3.399 MB / 0.6072 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.11, allocations: 20 kB / 0.6072 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.508e-05/1.11, allocations: 4 kB / 0.6072 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.11, allocations: 7.969 kB / 0.6072 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.125, allocations: 6.935 MB / 0.614 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.125, allocations: 3.953 kB / 0.614 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.127, allocations: 319.8 kB / 0.6143 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/1.13, allocations: 0.9158 MB / 0.6152 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002407/1.131, allocations: 51.84 kB / 0.6153 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/1.147, allocations: 13.77 MB / 0.6287 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.147, allocations: 4.031 kB / 0.6287 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.158, allocations: 5.152 MB / 0.6337 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.16, allocations: 0.576 MB / 0.6343 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.162, allocations: 36 kB / 0.6343 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.165, allocations: 139.8 kB / 0.6345 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/1.165, allocations: 157.7 kB / 0.6346 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.165, allocations: 51.98 kB / 0.6347 GB, free: 9.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004774/1.17, allocations: 1.598 MB / 0.6362 GB, free: 7.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.17, allocations: 0 / 0.6362 GB, free: 7.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004896/1.175, allocations: 0.7384 MB / 0.637 GB, free: 6.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/1.177, allocations: 371.6 kB / 0.6373 GB, free: 6.586 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007115/1.184, allocations: 3.662 MB / 0.6409 GB, free: 2.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.184, allocations: 0 / 0.6409 GB, free: 2.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005014/1.189, allocations: 2.563 MB / 0.6434 GB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2661/1.455, allocations: 0.6771 MB / 0.644 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.469, allocations: 7.986 MB / 0.6518 GB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/1.472, allocations: 2.576 MB / 0.6544 GB, free: 99.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002603/1.474, allocations: 0.5805 MB / 0.6549 GB, free: 99.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/1.475, allocations: 154.5 kB / 0.6551 GB, free: 99.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.704e-06/1.475, allocations: 6.734 kB / 0.6551 GB, free: 99.82 MB / 410.7 MB Notification: Performance of Templates: time 0.07835/1.553, allocations: 41.88 MB / 0.696 GB, free: 84.69 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches