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.001158/0.001158, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 197.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.88 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2787, allocations: 50.55 MB / 409.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01296/0.2917, allocations: 11.85 MB / 421.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.299, allocations: 3.818 MB / 424.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.3007, allocations: 75.69 kB / 425 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.3028, allocations: 0.8781 MB / 425.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.3058, allocations: 1.087 MB / 427 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3069, allocations: 0.4915 MB / 427.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004846/0.3117, allocations: 4.241 MB / 431.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003654/0.3154, allocations: 3.293 MB / 435 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.3181, allocations: 1.924 MB / 436.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00312/0.3213, allocations: 2.339 MB / 439.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007644/0.322, allocations: 0.4961 MB / 439.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.3233, allocations: 0.5936 MB / 440.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.3245, allocations: 1.391 MB / 441.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002567/0.3271, allocations: 2.217 MB / 444 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006162/0.3333, allocations: 6.567 MB / 450.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3333, allocations: 4 kB / 450.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3333, allocations: 4 kB / 450.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001319/0.3335, allocations: 4 kB / 450.5 MB, free: 8.129 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.009282/0.3428, allocations: 4.318 MB / 454.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3428, allocations: 8.031 kB / 454.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.3442, allocations: 476 kB / 455.3 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/0.3486, allocations: 2.414 MB / 457.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.3488, allocations: 230.2 kB / 458 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/0.3493, allocations: 308 kB / 458.3 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00717/0.3565, allocations: 4.369 MB / 462.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/0.3566, allocations: 7.906 kB / 462.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.3569, allocations: 128 kB / 462.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.357, allocations: 138 kB / 462.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006306/0.3633, allocations: 3.775 MB / 466.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02132/0.3847, allocations: 13.37 MB / 480 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.3882, allocations: 2.899 MB / 482.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/0.3908, allocations: 1.68 MB / 484.6 MB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/0.3912, allocations: 126.4 kB / 484.8 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.3912, allocations: 51.88 kB / 484.8 MB, free: 5.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.937e-06/0.3912, allocations: 0 / 484.8 MB, free: 5.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01765/0.4089, allocations: 8.999 MB / 493.8 MB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.409, allocations: 69.41 kB / 493.9 MB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.4128, allocations: 2.374 MB / 496.2 MB, free: 9.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.4131, allocations: 57.7 kB / 496.3 MB, free: 9.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.4142, allocations: 1.474 MB / 497.8 MB, free: 7.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000522/0.4147, allocations: 0.6045 MB / 498.4 MB, free: 7.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005981/0.4154, allocations: 367.3 kB / 498.7 MB, free: 6.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4155, allocations: 301.1 kB / 499 MB, free: 6.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4174, allocations: 1.128 MB / 0.4884 GB, free: 5.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.4195, allocations: 1.571 MB / 0.49 GB, free: 3.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.4237, allocations: 2.784 MB / 0.4927 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.4237, allocations: 4 kB / 0.4927 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00659/0.4303, allocations: 3.592 MB / 0.4962 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.4304, allocations: 18.91 kB / 0.4962 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.4304, allocations: 12 kB / 0.4962 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.4324, allocations: 0.8063 MB / 0.497 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.4342, allocations: 455.3 kB / 0.4975 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4453, allocations: 11.18 MB / 0.5084 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.4476, allocations: 123.8 kB / 0.5085 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.4479, allocations: 75.98 kB / 0.5086 GB, free: 15.75 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.002376/0.4503, allocations: 1.098 MB / 0.5096 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.451, allocations: 256.9 kB / 0.5099 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/0.4565, allocations: 3.293 MB / 0.5131 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.4566, allocations: 23.98 kB / 0.5131 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4566, allocations: 4 kB / 0.5131 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4566, allocations: 7.969 kB / 0.5131 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.4682, allocations: 6.856 MB / 0.5198 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4682, allocations: 0 / 0.5198 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.4695, allocations: 303.5 kB / 0.5201 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.472, allocations: 0.916 MB / 0.521 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.4722, allocations: 47.97 kB / 0.521 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.4856, allocations: 14.62 MB / 0.5353 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4857, allocations: 64 / 0.5353 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2576/0.7432, allocations: 4.854 MB / 0.5401 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/0.7449, allocations: 0.5665 MB / 0.5406 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.7452, allocations: 35.77 kB / 0.5407 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.7465, allocations: 124 kB / 0.5408 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000415/0.7469, allocations: 152.5 kB / 0.5409 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.7471, allocations: 51.69 kB / 0.541 GB, free: 121.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.7492, allocations: 1.639 MB / 0.5426 GB, free: 121.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7492, allocations: 0 / 0.5426 GB, free: 121.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00207/0.7513, allocations: 0.7063 MB / 0.5433 GB, free: 121.2 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.0004162/0.7517, allocations: 209.8 kB / 0.5435 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.7561, allocations: 3.599 MB / 0.547 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7562, allocations: 1.219 kB / 0.547 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/0.759, allocations: 2.505 MB / 0.5494 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.7616, allocations: 0.7157 MB / 0.5501 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/0.7702, allocations: 6.752 MB / 0.5567 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.7718, allocations: 2.526 MB / 0.5592 GB, free: 112.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00148/0.7733, allocations: 0.5849 MB / 0.5598 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.7737, allocations: 159.3 kB / 0.5599 GB, free: 112.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7738, allocations: 0 / 0.5599 GB, free: 112.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05624/0.83, allocations: 40.71 MB / 0.5997 GB, free: 72.43 MB / 462.1 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","/var/lib/jenkins/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