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.001766/0.001766, allocations: 107.8 kB / 16.51 MB, free: 6.715 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.001841/0.001841, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 51.64 kB / 300 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.108, allocations: 49.45 MB / 349.4 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01359/0.1216, allocations: 11.71 MB / 361.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.1286, allocations: 3.708 MB / 364.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.1314, allocations: 67.69 kB / 364.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.1344, allocations: 0.7459 MB / 365.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.1379, allocations: 0.9987 MB / 366.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.139, allocations: 439.6 kB / 367.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1997/0.3387, allocations: 4.874 MB / 371.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.3424, allocations: 2.745 MB / 374.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.3452, allocations: 1.62 MB / 376.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.3491, allocations: 2.233 MB / 378.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000991/0.3501, allocations: 298.5 kB / 378.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.3519, allocations: 405.5 kB / 379.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.3533, allocations: 1.182 MB / 380.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002891/0.3562, allocations: 1.981 MB / 382.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.3624, allocations: 6.308 MB / 388.7 MB, free: 6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3625, allocations: 0 / 388.7 MB, free: 6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3625, allocations: 0 / 388.7 MB, free: 6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002005/0.3627, allocations: 3.938 kB / 388.7 MB, free: 5.996 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.009136/0.3718, allocations: 4.3 MB / 393 MB, free: 3.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3719, allocations: 9.781 kB / 393 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.3729, allocations: 436.9 kB / 393.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.3761, allocations: 2.324 MB / 395.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.3762, allocations: 230.7 kB / 396 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.3767, allocations: 318.3 kB / 396.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00636/0.383, allocations: 4.366 MB / 400.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/0.3831, allocations: 7.578 kB / 400.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.3834, allocations: 126.2 kB / 400.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.3835, allocations: 133.9 kB / 400.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005838/0.3894, allocations: 3.779 MB / 404.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/0.4092, allocations: 13.52 MB / 418.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.4126, allocations: 2.897 MB / 421.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.4152, allocations: 1.68 MB / 422.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.4154, allocations: 133.5 kB / 422.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.4155, allocations: 55.34 kB / 423 MB, free: 8.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.397e-06/0.4155, allocations: 0 / 423 MB, free: 8.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01718/0.4327, allocations: 8.986 MB / 432 MB, free: 15.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.4328, allocations: 69.41 kB / 432 MB, free: 14.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/0.4373, allocations: 2.357 MB / 434.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.4374, allocations: 57.7 kB / 434.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.4386, allocations: 1.465 MB / 435.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/0.4392, allocations: 0.6021 MB / 436.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006336/0.4398, allocations: 367.3 kB / 436.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4399, allocations: 305.1 kB / 437.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.4417, allocations: 1.132 MB / 438.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.4437, allocations: 1.569 MB / 439.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.4476, allocations: 2.78 MB / 442.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.4476, allocations: 4 kB / 442.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005986/0.4536, allocations: 3.594 MB / 446.2 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4536, allocations: 12 kB / 446.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.4537, allocations: 12 kB / 446.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.4557, allocations: 0.8027 MB / 447.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.4574, allocations: 463.5 kB / 447.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.4676, allocations: 10.28 MB / 457.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.4696, allocations: 131.7 kB / 457.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.4698, allocations: 76 kB / 458 MB, free: 4.07 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.002111/0.472, allocations: 1.086 MB / 459.1 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/0.4725, allocations: 249 kB / 459.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005903/0.4784, allocations: 3.301 MB / 462.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4784, allocations: 19.98 kB / 462.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.4785, allocations: 11.94 kB / 462.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4785, allocations: 7.969 kB / 462.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.4911, allocations: 6.878 MB / 469.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4912, allocations: 8.219 kB / 469.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.4925, allocations: 293.2 kB / 469.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002824/0.4953, allocations: 0.9267 MB / 470.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/0.4957, allocations: 39.98 kB / 470.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.5099, allocations: 13.47 MB / 484.3 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.51, allocations: 11.91 kB / 484.3 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009077/0.5191, allocations: 4.857 MB / 489.2 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/0.5209, allocations: 0.5605 MB / 489.7 MB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009929/0.5219, allocations: 36 kB / 489.7 MB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.5239, allocations: 123.8 kB / 489.9 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/0.5244, allocations: 156.9 kB / 490 MB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.5246, allocations: 47.98 kB / 490.1 MB, free: 3.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003533/0.5281, allocations: 1.625 MB / 491.7 MB, free: 1.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5282, allocations: 0 / 491.7 MB, free: 1.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003778/0.5319, allocations: 0.7031 MB / 492.4 MB, free: 0.6836 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.0005666/0.5325, allocations: 225.1 kB / 492.6 MB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005779/0.5383, allocations: 3.579 MB / 496.2 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5383, allocations: 2 kB / 496.2 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.5421, allocations: 2.499 MB / 498.7 MB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/0.5467, allocations: 0.6796 MB / 499.4 MB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.5616, allocations: 8.162 MB / 0.4956 GB, free: 1.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/0.5657, allocations: 2.525 MB / 0.4981 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002955/0.5687, allocations: 0.5866 MB / 0.4987 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.5697, allocations: 155.4 kB / 0.4988 GB, free: 14.01 MB / 430.1 MB Notification: Performance of SimCode: time 2.054e-06/0.5698, allocations: 0 / 0.4988 GB, free: 14.01 MB / 430.1 MB Notification: Performance of Templates: time 0.2441/0.8139, allocations: 40.55 MB / 0.5384 GB, free: 136.3 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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches