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.0007397/0.0007398, allocations: 91.8 kB / 16.65 MB, free: 6.586 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.000806/0.000806, allocations: 183.7 kB / 17.56 MB, free: 6.203 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.406/1.406, allocations: 223.3 MB / 241.6 MB, free: 96 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 15.92 kB / 301.4 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 50.41 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01402/0.137, allocations: 11.13 MB / 363 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009754/0.1468, allocations: 3.673 MB / 366.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.1494, allocations: 63.69 kB / 366.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.1524, allocations: 0.7458 MB / 367.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.1568, allocations: 0.9987 MB / 368.5 MB, free: 3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1586, allocations: 435.6 kB / 368.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2269/0.3855, allocations: 4.877 MB / 373.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.3894, allocations: 2.711 MB / 376.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.3925, allocations: 1.422 MB / 377.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/0.3972, allocations: 1.982 MB / 379.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.3983, allocations: 212 kB / 380.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4, allocations: 314.1 kB / 380.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.4014, allocations: 1.052 MB / 381.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004041/0.4055, allocations: 1.847 MB / 383.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008875/0.4144, allocations: 6.114 MB / 389.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4144, allocations: 0 / 389.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4144, allocations: 0 / 389.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.4147, allocations: 0 / 389.4 MB, free: 6.707 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.01076/0.4255, allocations: 3.65 MB / 393 MB, free: 4.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4255, allocations: 9.781 kB / 393.1 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.4282, allocations: 444.6 kB / 393.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006477/0.4347, allocations: 2.326 MB / 395.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.435, allocations: 239.8 kB / 396.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.436, allocations: 307.8 kB / 396.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.4464, allocations: 4.382 MB / 400.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.4466, allocations: 7.906 kB / 400.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007161/0.4473, allocations: 128 kB / 400.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.4475, allocations: 126 kB / 401 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007695/0.4552, allocations: 3.8 MB / 404.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.478, allocations: 13.6 MB / 418.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.4816, allocations: 2.906 MB / 421.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.4844, allocations: 1.688 MB / 423 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.4847, allocations: 133.2 kB / 423.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.4847, allocations: 51.88 kB / 423.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.357e-06/0.4847, allocations: 0 / 423.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02129/0.506, allocations: 9.085 MB / 432.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5061, allocations: 73.41 kB / 432.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005235/0.5113, allocations: 2.346 MB / 434.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.5116, allocations: 57.7 kB / 434.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.5128, allocations: 1.473 MB / 436.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005991/0.5134, allocations: 0.5938 MB / 436.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.5137, allocations: 173.6 kB / 437 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5138, allocations: 305.1 kB / 437.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.5156, allocations: 1.132 MB / 438.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.5177, allocations: 1.581 MB / 440 MB, free: 7.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.5216, allocations: 2.802 MB / 442.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.5216, allocations: 4 kB / 442.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006152/0.5278, allocations: 3.617 MB / 446.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5278, allocations: 8 kB / 446.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.5278, allocations: 23.97 kB / 446.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.5298, allocations: 0.8013 MB / 447.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.5314, allocations: 467.5 kB / 447.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009859/0.5413, allocations: 10.29 MB / 458 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.5438, allocations: 135.8 kB / 458.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.5441, allocations: 72 kB / 458.2 MB, free: 4.957 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.002784/0.5469, allocations: 1.095 MB / 459.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006906/0.5476, allocations: 249 kB / 459.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/0.5541, allocations: 3.308 MB / 462.8 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.5541, allocations: 23.98 kB / 462.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/0.5542, allocations: 11.94 kB / 462.9 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.5542, allocations: 7.969 kB / 462.9 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.5691, allocations: 6.898 MB / 469.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.5691, allocations: 4 kB / 469.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.5704, allocations: 299.5 kB / 470.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.5728, allocations: 0.9353 MB / 471 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.5729, allocations: 39.98 kB / 471 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.5859, allocations: 13.48 MB / 484.5 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5859, allocations: 3.938 kB / 484.5 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008008/0.594, allocations: 4.891 MB / 489.4 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.5954, allocations: 0.5644 MB / 490 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006112/0.596, allocations: 39.98 kB / 490 MB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.5977, allocations: 135.8 kB / 490.1 MB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/0.5981, allocations: 157.7 kB / 490.3 MB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.5982, allocations: 55.98 kB / 490.3 MB, free: 3.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002965/0.6012, allocations: 1.621 MB / 492 MB, free: 2.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6012, allocations: 0 / 492 MB, free: 2.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002505/0.6037, allocations: 0.707 MB / 492.7 MB, free: 1.301 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.0004552/0.6042, allocations: 206.9 kB / 492.9 MB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005346/0.6095, allocations: 3.605 MB / 496.5 MB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6095, allocations: 0 / 496.5 MB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003804/0.6133, allocations: 2.52 MB / 499 MB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/0.6186, allocations: 0.6723 MB / 499.7 MB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.6331, allocations: 8.311 MB / 0.4961 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.6354, allocations: 2.521 MB / 0.4985 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00205/0.6375, allocations: 0.5866 MB / 0.4991 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.638, allocations: 155.4 kB / 0.4993 GB, free: 14.43 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.638, allocations: 0 / 0.4993 GB, free: 14.43 MB / 430.1 MB Notification: Performance of Templates: time 0.2507/0.8888, allocations: 39.89 MB / 0.5382 GB, free: 136.5 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