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.001377/0.001377, allocations: 182.9 kB / 18.04 MB, free: 3.66 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.301/1.301, allocations: 205.4 MB / 224.2 MB, free: 8.957 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.0008495/0.0008496, allocations: 86.36 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.3334, allocations: 110.4 MB / 487.5 MB, free: 2.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.3337, allocations: 87.95 kB / 487.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3182/0.652, allocations: 65.02 MB / 0.5396 GB, free: 79.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.652, allocations: 0 / 0.5396 GB, free: 79.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002882/0.6523, allocations: 91.92 kB / 0.5397 GB, free: 78.93 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.008923/0.6613, allocations: 3.609 MB / 0.5432 GB, free: 75.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6613, allocations: 8.031 kB / 0.5432 GB, free: 75.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.6632, allocations: 448.1 kB / 0.5437 GB, free: 74.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/0.6692, allocations: 2.472 MB / 0.5461 GB, free: 72.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.6695, allocations: 230.5 kB / 0.5463 GB, free: 72.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.6707, allocations: 308.3 kB / 0.5466 GB, free: 71.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008862/0.6796, allocations: 4.358 MB / 0.5509 GB, free: 67.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.6797, allocations: 11.84 kB / 0.5509 GB, free: 67.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005609/0.6803, allocations: 132 kB / 0.551 GB, free: 67.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.6804, allocations: 130 kB / 0.5511 GB, free: 66.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.6871, allocations: 3.619 MB / 0.5546 GB, free: 63.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0204/0.7075, allocations: 13.61 MB / 0.5679 GB, free: 49.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.7106, allocations: 2.95 MB / 0.5708 GB, free: 46.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.7128, allocations: 1.639 MB / 0.5724 GB, free: 44.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.7131, allocations: 147 kB / 0.5726 GB, free: 44.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.7132, allocations: 56.5 kB / 0.5726 GB, free: 44.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.318e-06/0.7132, allocations: 0 / 0.5726 GB, free: 44.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.01725/0.7304, allocations: 9.405 MB / 0.5818 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.7305, allocations: 69.41 kB / 0.5819 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.7337, allocations: 2.318 MB / 0.5841 GB, free: 32.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.734, allocations: 57.7 kB / 0.5842 GB, free: 32.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006988/0.7347, allocations: 1.458 MB / 0.5856 GB, free: 30.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.7352, allocations: 0.6161 MB / 0.5862 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.7353, allocations: 40 kB / 0.5863 GB, free: 30.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.7354, allocations: 385.9 kB / 0.5866 GB, free: 29.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.737, allocations: 1.136 MB / 0.5877 GB, free: 28.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.7388, allocations: 1.542 MB / 0.5892 GB, free: 26.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.7421, allocations: 2.775 MB / 0.5919 GB, free: 24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.7422, allocations: 4 kB / 0.592 GB, free: 24 MB / 378.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005471/0.7476, allocations: 3.604 MB / 0.5955 GB, free: 20.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.7477, allocations: 12 kB / 0.5955 GB, free: 20.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.7477, allocations: 11.94 kB / 0.5955 GB, free: 20.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.7494, allocations: 0.8209 MB / 0.5963 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.7511, allocations: 455.3 kB / 0.5967 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008422/0.7595, allocations: 10.85 MB / 0.6073 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.7623, allocations: 123.9 kB / 0.6074 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.7625, allocations: 75.98 kB / 0.6075 GB, free: 7.328 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 (214): * Single equations (assignments): 207 * 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%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002017/0.7646, allocations: 1.088 MB / 0.6086 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.7651, allocations: 245 kB / 0.6088 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/0.7701, allocations: 3.387 MB / 0.6121 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.7701, allocations: 20 kB / 0.6121 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.7702, allocations: 8 kB / 0.6122 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.7702, allocations: 7.969 kB / 0.6122 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.7823, allocations: 7.055 MB / 0.619 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.7824, allocations: 0 / 0.619 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7837, allocations: 311.9 kB / 0.6193 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002645/0.7864, allocations: 0.9337 MB / 0.6203 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/0.7867, allocations: 39.98 kB / 0.6203 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/0.7994, allocations: 13.49 MB / 0.6335 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7995, allocations: 4 kB / 0.6335 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008497/0.808, allocations: 4.979 MB / 0.6383 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/0.8097, allocations: 0.5799 MB / 0.6389 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.8101, allocations: 40 kB / 0.6389 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.8114, allocations: 131.9 kB / 0.6391 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/0.8119, allocations: 165.6 kB / 0.6392 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.812, allocations: 51.98 kB / 0.6393 GB, free: 5.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002666/0.8147, allocations: 1.598 MB / 0.6408 GB, free: 3.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8147, allocations: 0 / 0.6408 GB, free: 3.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002764/0.8175, allocations: 0.7383 MB / 0.6416 GB, free: 3.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (149): * Single equations (assignments): 141 * 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.000655/0.8181, allocations: 374.3 kB / 0.6419 GB, free: 2.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1754/0.9936, allocations: 3.645 MB / 0.6455 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.9936, allocations: 0 / 0.6455 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.997, allocations: 2.562 MB / 0.648 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.001, allocations: 0.6929 MB / 0.6486 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.012, allocations: 7.974 MB / 0.6564 GB, free: 98.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/1.014, allocations: 2.527 MB / 0.6589 GB, free: 98.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002269/1.016, allocations: 0.5731 MB / 0.6595 GB, free: 98.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/1.017, allocations: 150.3 kB / 0.6596 GB, free: 98.08 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/1.017, allocations: 0 / 0.6596 GB, free: 98.08 MB / 410.7 MB Notification: Performance of Templates: time 0.06261/1.08, allocations: 42.52 MB / 0.7011 GB, free: 80.92 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/jenkins1/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