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.001208/0.001208, allocations: 108 kB / 17.06 MB, free: 5.824 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.001315/0.001316, allocations: 191 kB / 18 MB, free: 4.977 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009255/0.0009256, allocations: 47.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2681, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01398/0.2822, allocations: 11.81 MB / 412.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008124/0.2903, allocations: 3.735 MB / 416.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.2929, allocations: 71.69 kB / 416.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.2957, allocations: 0.9161 MB / 417.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.3003, allocations: 1.13 MB / 418.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.302, allocations: 499.3 kB / 418.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005965/0.308, allocations: 4.222 MB / 423.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005041/0.313, allocations: 3.301 MB / 426.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.3163, allocations: 1.912 MB / 428.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.3204, allocations: 2.328 MB / 430.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.322, allocations: 0.4961 MB / 431.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.3246, allocations: 0.5819 MB / 431.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.327, allocations: 1.395 MB / 433.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.331, allocations: 2.201 MB / 435.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007897/0.3389, allocations: 6.558 MB / 441.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3389, allocations: 0 / 441.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3389, allocations: 0 / 441.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002329/0.3392, allocations: 0 / 441.9 MB, free: 15.5 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.009868/0.349, allocations: 4.298 MB / 446.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3491, allocations: 15.89 kB / 446.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.3502, allocations: 436.1 kB / 446.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.3541, allocations: 2.398 MB / 449 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.3543, allocations: 230.2 kB / 449.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/0.3548, allocations: 311.8 kB / 449.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007873/0.3626, allocations: 4.365 MB / 453.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.049e-05/0.3627, allocations: 7.938 kB / 453.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.363, allocations: 128 kB / 454.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.3632, allocations: 134 kB / 454.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006743/0.3699, allocations: 3.779 MB / 458 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.3933, allocations: 13.37 MB / 471.3 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.3972, allocations: 2.907 MB / 474.2 MB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.4003, allocations: 1.688 MB / 475.9 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.4007, allocations: 130.4 kB / 476 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.4007, allocations: 51.88 kB / 476.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.518e-06/0.4008, allocations: 0 / 476.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01919/0.42, allocations: 8.981 MB / 485.1 MB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.42, allocations: 77.41 kB / 485.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/0.4247, allocations: 2.349 MB / 487.5 MB, free: 0.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003155/0.4251, allocations: 57.7 kB / 487.6 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.4263, allocations: 1.462 MB / 489 MB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/0.4269, allocations: 0.6085 MB / 489.6 MB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000812/0.4278, allocations: 367.3 kB / 490 MB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4279, allocations: 305.1 kB / 490.3 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.4299, allocations: 1.124 MB / 491.4 MB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.4321, allocations: 1.578 MB / 493 MB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.4364, allocations: 2.78 MB / 495.8 MB, free: 8.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4364, allocations: 4 kB / 495.8 MB, free: 8.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00629/0.4427, allocations: 3.592 MB / 499.4 MB, free: 4.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.4428, allocations: 15.92 kB / 499.4 MB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.4428, allocations: 16 kB / 499.4 MB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.4449, allocations: 0.7986 MB / 0.4885 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.4467, allocations: 463.3 kB / 0.4889 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.4584, allocations: 11.16 MB / 0.4998 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.4609, allocations: 123.8 kB / 0.4999 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/0.4614, allocations: 75.98 kB / 0.5 GB, free: 7.227 MB / 430.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.003065/0.4645, allocations: 1.099 MB / 0.5011 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008135/0.4653, allocations: 245 kB / 0.5013 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/0.4714, allocations: 3.297 MB / 0.5045 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4715, allocations: 16 kB / 0.5045 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.4715, allocations: 4 kB / 0.5045 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.4715, allocations: 15.91 kB / 0.5046 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.4842, allocations: 6.855 MB / 0.5113 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4842, allocations: 3.984 kB / 0.5113 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.4856, allocations: 295.6 kB / 0.5115 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/0.4882, allocations: 0.9277 MB / 0.5125 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.4884, allocations: 39.98 kB / 0.5125 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.5018, allocations: 14.61 MB / 0.5268 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5018, allocations: 4.031 kB / 0.5268 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/0.5095, allocations: 4.857 MB / 0.5315 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.5109, allocations: 0.5682 MB / 0.5321 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006356/0.5116, allocations: 39.94 kB / 0.5321 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.5132, allocations: 123.9 kB / 0.5322 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/0.5136, allocations: 149.7 kB / 0.5324 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.5137, allocations: 55.97 kB / 0.5324 GB, free: 4.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002918/0.5167, allocations: 1.633 MB / 0.534 GB, free: 3.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5167, allocations: 0 / 0.534 GB, free: 3.125 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002434/0.5191, allocations: 0.707 MB / 0.5347 GB, free: 2.418 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.0004942/0.5196, allocations: 207.9 kB / 0.5349 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2083/0.7279, allocations: 3.581 MB / 0.5384 GB, free: 131 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.7279, allocations: 1.031 kB / 0.5384 GB, free: 131 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.7321, allocations: 2.505 MB / 0.5408 GB, free: 130 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.7354, allocations: 0.7266 MB / 0.5415 GB, free: 130 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009027/0.7445, allocations: 6.739 MB / 0.5481 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.7462, allocations: 2.514 MB / 0.5506 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001626/0.7479, allocations: 0.5867 MB / 0.5512 GB, free: 126 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.7483, allocations: 161.3 kB / 0.5513 GB, free: 126 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7483, allocations: 4 kB / 0.5513 GB, free: 126 MB / 462.1 MB Notification: Performance of Templates: time 0.05661/0.8049, allocations: 40.56 MB / 0.5909 GB, free: 87.45 MB / 462.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