Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 93.33 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000964/0.000964, allocations: 175.9 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002178/0.0002178, allocations: 7.938 kB / 302.1 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07457/0.0748, allocations: 50.41 MB / 352.5 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01045/0.08527, allocations: 11.13 MB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.09121, allocations: 3.677 MB / 367.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.09254, allocations: 71.69 kB / 367.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.09436, allocations: 0.7381 MB / 368.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.09693, allocations: 0.9987 MB / 369.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.09783, allocations: 435.6 kB / 369.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1393/0.2372, allocations: 4.866 MB / 374.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.2407, allocations: 2.723 MB / 377.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.243, allocations: 1.423 MB / 378.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.2462, allocations: 1.984 MB / 380.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008186/0.2471, allocations: 211.4 kB / 380.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2484, allocations: 314.8 kB / 381 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2495, allocations: 1.05 MB / 382.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.2513, allocations: 1.846 MB / 383.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003681/0.255, allocations: 5.279 MB / 389.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.255, allocations: 3.984 kB / 389.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.255, allocations: 0 / 389.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.735e-05/0.2551, allocations: 5.062 kB / 389.2 MB, free: 7.016 MB / 302.1 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.006224/0.2613, allocations: 3.651 MB / 392.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2613, allocations: 9.094 kB / 392.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.2623, allocations: 440.5 kB / 393.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.2654, allocations: 2.329 MB / 395.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.2655, allocations: 232.9 kB / 395.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/0.2659, allocations: 311.1 kB / 396.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/0.2719, allocations: 4.382 MB / 400.6 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.95e-05/0.272, allocations: 7.312 kB / 400.6 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000288/0.2723, allocations: 123.8 kB / 400.7 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.2724, allocations: 133.2 kB / 400.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006/0.2784, allocations: 3.795 MB / 404.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.2966, allocations: 13.6 MB / 418.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.3, allocations: 2.908 MB / 421.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.3027, allocations: 1.695 MB / 422.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.303, allocations: 122.4 kB / 422.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.303, allocations: 55.88 kB / 423 MB, free: 9.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.456e-06/0.303, allocations: 3 kB / 423 MB, free: 9.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01741/0.3204, allocations: 9.073 MB / 432.1 MB, free: 492 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3205, allocations: 80.69 kB / 432.1 MB, free: 404 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.3237, allocations: 2.35 MB / 434.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.3238, allocations: 57.7 kB / 434.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000974/0.3248, allocations: 1.471 MB / 436 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.3252, allocations: 0.6098 MB / 436.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.3255, allocations: 161.6 kB / 436.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.3256, allocations: 313 kB / 437.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.3273, allocations: 1.136 MB / 438.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.3293, allocations: 1.577 MB / 439.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.3331, allocations: 2.8 MB / 442.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3332, allocations: 4 kB / 442.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00574/0.3389, allocations: 3.612 MB / 446.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3389, allocations: 8 kB / 446.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.339, allocations: 12 kB / 446.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.3409, allocations: 0.8073 MB / 447.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.3427, allocations: 471.5 kB / 447.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009461/0.3521, allocations: 10.29 MB / 457.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3538, allocations: 127.9 kB / 457.9 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.3539, allocations: 76.12 kB / 458 MB, free: 5.641 MB / 366.1 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 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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.001744/0.3557, allocations: 1.102 MB / 459.1 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.3561, allocations: 245 kB / 459.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/0.3616, allocations: 3.313 MB / 462.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3617, allocations: 20 kB / 462.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3617, allocations: 7.938 kB / 462.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.3617, allocations: 7.969 kB / 462.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.3722, allocations: 6.897 MB / 469.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.3723, allocations: 0 / 469.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.3736, allocations: 303.8 kB / 469.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/0.3759, allocations: 0.9274 MB / 470.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.3761, allocations: 43.97 kB / 470.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.3881, allocations: 13.48 MB / 484.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3881, allocations: 7.875 kB / 484.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007305/0.3954, allocations: 4.885 MB / 489.2 MB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.3965, allocations: 0.5683 MB / 489.8 MB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.3968, allocations: 36 kB / 489.8 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.3982, allocations: 135.8 kB / 490 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.3986, allocations: 145.8 kB / 490.1 MB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.3987, allocations: 47.98 kB / 490.2 MB, free: 4.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002301/0.401, allocations: 1.633 MB / 491.8 MB, free: 2.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.401, allocations: 4 kB / 491.8 MB, free: 2.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00198/0.403, allocations: 0.7109 MB / 492.5 MB, free: 1.953 MB / 398.1 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.0003793/0.4034, allocations: 205.9 kB / 492.7 MB, free: 1.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004923/0.4083, allocations: 3.6 MB / 496.3 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4083, allocations: 5.875 kB / 496.3 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.4117, allocations: 2.514 MB / 498.8 MB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/0.4151, allocations: 0.6807 MB / 499.5 MB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.4253, allocations: 8.324 MB / 0.4959 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.4274, allocations: 2.475 MB / 0.4983 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/0.428, allocations: 175.4 kB / 0.4985 GB, free: 15.69 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.428, allocations: 0 / 0.4985 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Templates: time 0.261/0.689, allocations: 167 MB / 0.6616 GB, free: 31.52 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches