Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2445, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01252/0.2571, allocations: 11.86 MB / 421.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007027/0.2641, allocations: 3.825 MB / 425.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.2659, allocations: 67.75 kB / 425.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.268, allocations: 0.8781 MB / 426.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.2709, allocations: 1.083 MB / 427.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2719, allocations: 0.4954 MB / 428.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.2766, allocations: 4.245 MB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.2801, allocations: 3.293 MB / 435.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.2828, allocations: 1.924 MB / 437.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.2859, allocations: 2.331 MB / 439.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008936/0.2868, allocations: 0.4922 MB / 440.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.2882, allocations: 0.5975 MB / 441 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.2896, allocations: 1.395 MB / 442.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.2922, allocations: 2.209 MB / 444.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.2985, allocations: 6.57 MB / 451.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.2985, allocations: 3.984 kB / 451.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2985, allocations: 0 / 451.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001627/0.2987, allocations: 0 / 451.2 MB, free: 8.074 MB / 366.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.009482/0.3082, allocations: 4.322 MB / 455.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3082, allocations: 8.031 kB / 455.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.3095, allocations: 468 kB / 456 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/0.3141, allocations: 2.429 MB / 458.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.3142, allocations: 230.2 kB / 458.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/0.3148, allocations: 304 kB / 458.9 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007169/0.3219, allocations: 4.369 MB / 463.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.475e-05/0.322, allocations: 7.844 kB / 463.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.3223, allocations: 128 kB / 463.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.3225, allocations: 141.9 kB / 463.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006206/0.3287, allocations: 3.775 MB / 467.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.3517, allocations: 13.38 MB / 480.7 MB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.3554, allocations: 2.895 MB / 483.6 MB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/0.3582, allocations: 1.68 MB / 485.3 MB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.3585, allocations: 130.4 kB / 485.4 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.3586, allocations: 47.88 kB / 485.5 MB, free: 5.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.388e-06/0.3586, allocations: 0 / 485.5 MB, free: 5.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01962/0.3782, allocations: 8.999 MB / 494.5 MB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.3784, allocations: 77.41 kB / 494.6 MB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/0.3827, allocations: 2.366 MB / 496.9 MB, free: 9.355 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.3831, allocations: 57.7 kB / 497 MB, free: 9.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.3842, allocations: 1.478 MB / 498.5 MB, free: 7.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/0.385, allocations: 0.6006 MB / 499.1 MB, free: 7.188 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007899/0.3858, allocations: 363.3 kB / 499.4 MB, free: 6.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3859, allocations: 309.1 kB / 499.7 MB, free: 6.523 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.3878, allocations: 1.12 MB / 0.4891 GB, free: 5.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.39, allocations: 1.575 MB / 0.4906 GB, free: 3.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.394, allocations: 2.78 MB / 0.4934 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.3941, allocations: 4 kB / 0.4934 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006418/0.4005, allocations: 3.596 MB / 0.4969 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.4006, allocations: 15.94 kB / 0.4969 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.4006, allocations: 12 kB / 0.4969 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.4026, allocations: 0.802 MB / 0.4977 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.4044, allocations: 455.3 kB / 0.4981 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.4149, allocations: 11.18 MB / 0.509 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.417, allocations: 123.8 kB / 0.5092 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/0.4174, allocations: 79.98 kB / 0.5092 GB, free: 15.68 MB / 446.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.002158/0.4195, allocations: 1.106 MB / 0.5103 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007423/0.4203, allocations: 248.9 kB / 0.5105 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/0.4261, allocations: 3.297 MB / 0.5138 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4261, allocations: 16 kB / 0.5138 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/0.4261, allocations: 8 kB / 0.5138 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.4262, allocations: 11.95 kB / 0.5138 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.4402, allocations: 6.86 MB / 0.5205 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.4402, allocations: 4 kB / 0.5205 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.4416, allocations: 291.6 kB / 0.5208 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002473/0.444, allocations: 0.916 MB / 0.5217 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/0.4443, allocations: 43.98 kB / 0.5217 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/0.4573, allocations: 14.62 MB / 0.536 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4573, allocations: 4 kB / 0.536 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2216/0.679, allocations: 4.853 MB / 0.5407 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.6806, allocations: 0.5676 MB / 0.5413 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.681, allocations: 38.47 kB / 0.5413 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6822, allocations: 121.5 kB / 0.5414 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.6826, allocations: 148.9 kB / 0.5416 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.6828, allocations: 51.83 kB / 0.5416 GB, free: 121.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002209/0.685, allocations: 1.644 MB / 0.5432 GB, free: 121.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.685, allocations: 0 / 0.5432 GB, free: 121.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001999/0.687, allocations: 0.7048 MB / 0.5439 GB, free: 121.3 MB / 462.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.0003823/0.6874, allocations: 205 kB / 0.5441 GB, free: 121.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004282/0.6917, allocations: 3.6 MB / 0.5476 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6917, allocations: 3.25 kB / 0.5476 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.6946, allocations: 2.501 MB / 0.5501 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.6975, allocations: 0.7195 MB / 0.5508 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009248/0.7067, allocations: 6.771 MB / 0.5574 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.7084, allocations: 2.481 MB / 0.5598 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/0.7092, allocations: 165.9 kB / 0.56 GB, free: 112.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7092, allocations: 0 / 0.56 GB, free: 112.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1342/0.8434, allocations: 169 MB / 0.7251 GB, free: 8.117 MB / 0.5137 GB 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/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches