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.001608/0.001607, allocations: 108 kB / 17.28 MB, free: 6.199 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.001489/0.001489, allocations: 193.3 kB / 18.21 MB, free: 5.273 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.341/1.341, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 52.58 kB / 300.8 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 49.45 MB / 350.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01419/0.1193, allocations: 11.72 MB / 362 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.128, allocations: 3.693 MB / 365.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.1309, allocations: 67.69 kB / 365.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.1348, allocations: 0.7693 MB / 366.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.1397, allocations: 0.9754 MB / 367.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.1417, allocations: 427.6 kB / 367.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2181/0.3598, allocations: 4.217 MB / 372.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005134/0.365, allocations: 3.293 MB / 375.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/0.3698, allocations: 1.917 MB / 377.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.3751, allocations: 2.385 MB / 379.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00157/0.3767, allocations: 0.4958 MB / 380.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.379, allocations: 0.579 MB / 380.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.3808, allocations: 1.399 MB / 382.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00529/0.3861, allocations: 2.216 MB / 384.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007907/0.394, allocations: 5.476 MB / 389.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.3941, allocations: 0 / 389.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3941, allocations: 2.625 kB / 389.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002506/0.3944, allocations: 0 / 389.9 MB, free: 5.836 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.01234/0.4067, allocations: 4.299 MB / 394.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.4068, allocations: 9.75 kB / 394.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.4083, allocations: 441.7 kB / 394.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00418/0.4125, allocations: 2.322 MB / 396.9 MB, free: 1.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4127, allocations: 235 kB / 397.2 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.4132, allocations: 309.3 kB / 397.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008061/0.4212, allocations: 4.368 MB / 401.8 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.4213, allocations: 10.62 kB / 401.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/0.4217, allocations: 127 kB / 402 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.4218, allocations: 134 kB / 402.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006691/0.4285, allocations: 3.78 MB / 405.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.4521, allocations: 13.53 MB / 419.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.4555, allocations: 2.888 MB / 422.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/0.4583, allocations: 1.682 MB / 424 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.4587, allocations: 128.5 kB / 424.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.4588, allocations: 59.08 kB / 424.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.456e-06/0.4588, allocations: 4 kB / 424.2 MB, free: 7.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01897/0.4778, allocations: 8.981 MB / 433.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4779, allocations: 69.41 kB / 433.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.4818, allocations: 2.357 MB / 435.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.4821, allocations: 57.7 kB / 435.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.4831, allocations: 1.474 MB / 437.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/0.4838, allocations: 0.602 MB / 437.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/0.4844, allocations: 367.3 kB / 438.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.4845, allocations: 305.1 kB / 438.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.4862, allocations: 1.128 MB / 439.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.4882, allocations: 1.565 MB / 441 MB, free: 6.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003733/0.492, allocations: 2.791 MB / 443.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.492, allocations: 4 kB / 443.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006489/0.4985, allocations: 3.588 MB / 447.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.4985, allocations: 8 kB / 447.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.4986, allocations: 16.5 kB / 447.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.5006, allocations: 0.8053 MB / 448.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.5024, allocations: 463 kB / 448.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.5132, allocations: 11.17 MB / 459.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.5158, allocations: 127.8 kB / 460 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.516, allocations: 72 kB / 460.1 MB, free: 2.504 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.002135/0.5182, allocations: 1.09 MB / 461.2 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.5188, allocations: 245.1 kB / 461.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005841/0.5247, allocations: 3.299 MB / 464.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.5247, allocations: 19.98 kB / 464.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.5248, allocations: 8 kB / 464.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.5248, allocations: 7.969 kB / 464.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.5376, allocations: 6.889 MB / 471.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5377, allocations: 3.938 kB / 471.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.539, allocations: 297 kB / 471.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.5415, allocations: 0.9343 MB / 472.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/0.5418, allocations: 39.98 kB / 472.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.556, allocations: 14.62 MB / 487.5 MB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5561, allocations: 0 / 487.5 MB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00842/0.5645, allocations: 4.864 MB / 492.4 MB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.5663, allocations: 0.5643 MB / 492.9 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/0.5668, allocations: 40 kB / 493 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.5682, allocations: 119.9 kB / 493.1 MB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/0.5686, allocations: 157.3 kB / 493.2 MB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.5687, allocations: 51.98 kB / 493.3 MB, free: 264 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002564/0.5713, allocations: 1.621 MB / 494.9 MB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5713, allocations: 3.938 kB / 494.9 MB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002691/0.574, allocations: 0.707 MB / 495.6 MB, free: 13.91 MB / 414.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.0005159/0.5745, allocations: 227.9 kB / 495.9 MB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008771/0.5833, allocations: 4.859 MB / 0.489 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5834, allocations: 0 / 0.489 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003782/0.5871, allocations: 2.502 MB / 0.4914 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/0.5909, allocations: 0.7073 MB / 0.4921 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.6037, allocations: 8.191 MB / 0.5001 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.606, allocations: 2.482 MB / 0.5025 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/0.607, allocations: 163.4 kB / 0.5027 GB, free: 10.6 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.607, allocations: 0 / 0.5027 GB, free: 10.6 MB / 430.1 MB Notification: Performance of Templates: time 0.3087/0.9157, allocations: 167.5 MB / 0.6663 GB, free: 22.74 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