Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001697/0.001697, 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.891/1.891, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001145/0.001145, allocations: 93.73 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003768, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3284, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.5045, allocations: 110.2 MB / 484.8 MB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/0.505, allocations: 91.95 kB / 484.8 MB, free: 2.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5214/1.026, allocations: 65.05 MB / 0.537 GB, free: 79.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.32e-06/1.026, allocations: 0 / 0.537 GB, free: 79.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003918/1.027, allocations: 95.86 kB / 0.5371 GB, free: 79.39 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.01394/1.041, allocations: 3.65 MB / 0.5407 GB, free: 75.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.041, allocations: 8.031 kB / 0.5407 GB, free: 75.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/1.043, allocations: 455.1 kB / 0.5411 GB, free: 75.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007846/1.051, allocations: 2.383 MB / 0.5434 GB, free: 72.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/1.052, allocations: 230.2 kB / 0.5437 GB, free: 72.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.053, allocations: 315.9 kB / 0.544 GB, free: 72.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/1.068, allocations: 4.33 MB / 0.5482 GB, free: 67.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/1.068, allocations: 11.94 kB / 0.5482 GB, free: 67.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/1.07, allocations: 128 kB / 0.5483 GB, free: 67.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/1.07, allocations: 130 kB / 0.5484 GB, free: 67.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/1.081, allocations: 3.619 MB / 0.552 GB, free: 63.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03636/1.118, allocations: 13.61 MB / 0.5653 GB, free: 49.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/1.123, allocations: 2.95 MB / 0.5681 GB, free: 46.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/1.124, allocations: 151 kB / 0.5683 GB, free: 46.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.124, allocations: 52.56 kB / 0.5683 GB, free: 46.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.87e-06/1.124, allocations: 0 / 0.5683 GB, free: 46.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.03177/1.156, allocations: 9.424 MB / 0.5775 GB, free: 36.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/1.156, allocations: 69.41 kB / 0.5776 GB, free: 36.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/1.161, allocations: 2.073 MB / 0.5796 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000526/1.161, allocations: 61.7 kB / 0.5797 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009883/1.162, allocations: 1.343 MB / 0.581 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000757/1.163, allocations: 0.6199 MB / 0.5816 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.163, allocations: 36 kB / 0.5816 GB, free: 32.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/1.164, allocations: 390.8 kB / 0.582 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/1.167, allocations: 1.156 MB / 0.5831 GB, free: 31.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/1.17, allocations: 1.553 MB / 0.5847 GB, free: 29.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/1.174, allocations: 1.364 MB / 0.586 GB, free: 28.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.174, allocations: 4 kB / 0.586 GB, free: 28.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008956/1.183, allocations: 3.458 MB / 0.5894 GB, free: 24.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.183, allocations: 8 kB / 0.5894 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.183, allocations: 16.34 kB / 0.5894 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/1.186, allocations: 0.8058 MB / 0.5902 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/1.189, allocations: 463.3 kB / 0.5906 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.203, allocations: 10.5 MB / 0.6009 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/1.206, allocations: 127.9 kB / 0.601 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/1.206, allocations: 76 kB / 0.6011 GB, free: 11.89 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.002905/1.209, allocations: 1.094 MB / 0.6021 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/1.21, allocations: 249 kB / 0.6024 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/1.219, allocations: 3.403 MB / 0.6057 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.219, allocations: 16 kB / 0.6057 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.219, allocations: 8 kB / 0.6057 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.344e-05/1.219, allocations: 11.95 kB / 0.6057 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.238, allocations: 6.919 MB / 0.6125 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.238, allocations: 7.953 kB / 0.6125 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.24, allocations: 311.5 kB / 0.6128 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004437/1.245, allocations: 0.9291 MB / 0.6137 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/1.245, allocations: 39.98 kB / 0.6137 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/1.266, allocations: 13.77 MB / 0.6272 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.266, allocations: 0 / 0.6272 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.281, allocations: 5.152 MB / 0.6322 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.284, allocations: 0.5799 MB / 0.6328 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/1.285, allocations: 39.98 kB / 0.6328 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.288, allocations: 135.8 kB / 0.633 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007131/1.288, allocations: 169.7 kB / 0.6331 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/1.289, allocations: 52.03 kB / 0.6332 GB, free: 9.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004331/1.293, allocations: 1.594 MB / 0.6347 GB, free: 8.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.293, allocations: 0 / 0.6347 GB, free: 8.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004131/1.297, allocations: 0.7384 MB / 0.6355 GB, free: 7.41 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.000952/1.298, allocations: 374.2 kB / 0.6358 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009407/1.308, allocations: 3.659 MB / 0.6394 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.308, allocations: 4 kB / 0.6394 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006655/1.314, allocations: 2.559 MB / 0.6419 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2861/1.601, allocations: 0.6744 MB / 0.6425 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.617, allocations: 8.003 MB / 0.6504 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.62, allocations: 2.535 MB / 0.6528 GB, free: 99.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.622, allocations: 169.8 kB / 0.653 GB, free: 99.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/1.622, allocations: 0 / 0.653 GB, free: 99.54 MB / 410.7 MB Notification: Performance of Templates: time 0.5327/2.155, allocations: 159 MB / 0.8082 GB, free: 132.7 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches