Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009603/0.0009607, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000805/0.000805, allocations: 95.45 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002177, allocations: 8 kB / 360.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2228, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008052/0.2308, allocations: 10.51 MB / 422.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006615/0.2375, allocations: 4.26 MB / 426.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.2391, allocations: 67.69 kB / 426.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.2409, allocations: 0.7545 MB / 427.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.2431, allocations: 0.9949 MB / 428.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.2439, allocations: 439.6 kB / 429.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.2475, allocations: 4.893 MB / 434 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.2502, allocations: 2.718 MB / 436.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.2523, allocations: 1.443 MB / 438.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.2549, allocations: 1.957 MB / 440.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.2553, allocations: 212 kB / 440.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.2562, allocations: 323.8 kB / 440.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.2573, allocations: 1.043 MB / 441.6 MB, free: 12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.2593, allocations: 1.851 MB / 443.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.2645, allocations: 6.123 MB / 449.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2645, allocations: 0 / 449.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2645, allocations: 3.938 kB / 449.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.2647, allocations: 0 / 449.6 MB, free: 3.984 MB / 314.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.007495/0.2722, allocations: 3.648 MB / 453.3 MB, free: 276 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2723, allocations: 19.97 kB / 453.3 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.2737, allocations: 468.1 kB / 453.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.2776, allocations: 2.336 MB / 456.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.2778, allocations: 238.1 kB / 456.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004493/0.2782, allocations: 303.9 kB / 456.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007847/0.2861, allocations: 4.361 MB / 461 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/0.2862, allocations: 4 kB / 461 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/0.2864, allocations: 124 kB / 461.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.2866, allocations: 134 kB / 461.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00632/0.2929, allocations: 3.775 MB / 465 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02126/0.3142, allocations: 13.61 MB / 478.6 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.3175, allocations: 2.903 MB / 481.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.32, allocations: 1.692 MB / 483.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.3203, allocations: 130.4 kB / 483.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.3203, allocations: 51.88 kB / 483.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=164): time 3.417e-06/0.3203, allocations: 4 kB / 483.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.01699/0.3373, allocations: 9.065 MB / 492.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3374, allocations: 69.41 kB / 492.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.3408, allocations: 2.346 MB / 494.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.3409, allocations: 57.7 kB / 494.9 MB, free: 5.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.3421, allocations: 1.478 MB / 496.4 MB, free: 4.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.3426, allocations: 0.6046 MB / 497 MB, free: 3.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3427, allocations: 40 kB / 497 MB, free: 3.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3429, allocations: 385.8 kB / 497.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.3446, allocations: 1.128 MB / 498.6 MB, free: 2.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.3466, allocations: 1.574 MB / 0.4884 GB, free: 272 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/0.3503, allocations: 2.784 MB / 0.4911 GB, free: 13.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3503, allocations: 4 kB / 0.4911 GB, free: 13.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005853/0.3561, allocations: 3.592 MB / 0.4946 GB, free: 9.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3562, allocations: 12 kB / 0.4946 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.3562, allocations: 16.44 kB / 0.4947 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.3581, allocations: 0.8019 MB / 0.4954 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.3598, allocations: 463.3 kB / 0.4959 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.22/0.5798, allocations: 10.29 MB / 0.5059 GB, free: 86.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.5822, allocations: 130.5 kB / 0.5061 GB, free: 86.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.5825, allocations: 77.81 kB / 0.5061 GB, free: 86.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002142/0.5846, allocations: 1.092 MB / 0.5072 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/0.5853, allocations: 247 kB / 0.5074 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005414/0.5907, allocations: 3.309 MB / 0.5107 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5907, allocations: 20.53 kB / 0.5107 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.5907, allocations: 7.875 kB / 0.5107 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.5908, allocations: 11.42 kB / 0.5107 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.6016, allocations: 6.898 MB / 0.5174 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6016, allocations: 3 kB / 0.5174 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.6028, allocations: 292 kB / 0.5177 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.605, allocations: 0.9229 MB / 0.5186 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.6051, allocations: 39.55 kB / 0.5187 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009317/0.6144, allocations: 13.46 MB / 0.5318 GB, free: 68.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6145, allocations: 10.81 kB / 0.5318 GB, free: 68.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.6208, allocations: 4.867 MB / 0.5366 GB, free: 63.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.622, allocations: 0.5693 MB / 0.5371 GB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.6223, allocations: 43.92 kB / 0.5372 GB, free: 63.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6235, allocations: 127.9 kB / 0.5373 GB, free: 63.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/0.6239, allocations: 157.7 kB / 0.5374 GB, free: 63.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.624, allocations: 51.98 kB / 0.5375 GB, free: 63.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001934/0.626, allocations: 1.613 MB / 0.5391 GB, free: 61.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.626, allocations: 0 / 0.5391 GB, free: 61.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001841/0.6278, allocations: 0.7068 MB / 0.5398 GB, free: 60.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/0.6282, allocations: 215.6 kB / 0.54 GB, free: 60.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.6325, allocations: 3.587 MB / 0.5435 GB, free: 56.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6325, allocations: 4.062 kB / 0.5435 GB, free: 56.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002809/0.6353, allocations: 2.513 MB / 0.5459 GB, free: 54.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004001/0.6394, allocations: 0.6866 MB / 0.5466 GB, free: 53.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/0.6492, allocations: 8.31 MB / 0.5547 GB, free: 45.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.6509, allocations: 2.521 MB / 0.5572 GB, free: 42.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001813/0.6528, allocations: 0.5788 MB / 0.5577 GB, free: 41.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.6532, allocations: 155.4 kB / 0.5579 GB, free: 41.84 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6532, allocations: 4 kB / 0.5579 GB, free: 41.84 MB / 378.7 MB Notification: Performance of Templates: time 0.05866/0.7119, allocations: 40.06 MB / 0.597 GB, free: 2.258 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches