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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 186 kB / 24.47 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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=15000,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=15000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 44.03 kB / 371.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2352, allocations: 52.19 MB / 423.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01494/0.2501, allocations: 11.92 MB / 435.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007702/0.2578, allocations: 3.759 MB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.2598, allocations: 87.44 kB / 439.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.2624, allocations: 0.9198 MB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.266, allocations: 1.15 MB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.2673, allocations: 0.4915 MB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005684/0.273, allocations: 4.226 MB / 446.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.2758, allocations: 1.837 MB / 448.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.2787, allocations: 1.947 MB / 450.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/0.2827, allocations: 2.398 MB / 452.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.2838, allocations: 0.4961 MB / 453.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2852, allocations: 0.5818 MB / 453.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.2868, allocations: 1.41 MB / 455.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003208/0.29, allocations: 2.209 MB / 457.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008081/0.2981, allocations: 6.563 MB / 463.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2981, allocations: 4 kB / 463.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2981, allocations: 0 / 463.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001367/0.2982, allocations: 0 / 463.9 MB, free: 6.426 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.009794/0.308, allocations: 4.336 MB / 468.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3081, allocations: 8.031 kB / 468.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.3092, allocations: 462.3 kB / 468.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.3142, allocations: 2.344 MB / 471 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.3144, allocations: 234.1 kB / 471.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006397/0.3151, allocations: 311.9 kB / 471.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007973/0.323, allocations: 4.369 MB / 475.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.413e-05/0.3231, allocations: 7.891 kB / 475.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.3234, allocations: 124 kB / 476.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.3236, allocations: 138 kB / 476.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/0.3304, allocations: 3.779 MB / 480 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.3553, allocations: 13.25 MB / 493.2 MB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.3587, allocations: 2.084 MB / 495.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.3617, allocations: 1.567 MB / 496.9 MB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.362, allocations: 57.19 kB / 496.9 MB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.362, allocations: 55.81 kB / 497 MB, free: 4.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.917e-06/0.362, allocations: 0 / 497 MB, free: 4.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01946/0.3815, allocations: 8.491 MB / 0.4936 GB, free: 12.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.3816, allocations: 69.41 kB / 0.4937 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.3857, allocations: 2.361 MB / 0.496 GB, free: 9.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002799/0.386, allocations: 57.7 kB / 0.4961 GB, free: 9.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.3874, allocations: 1.501 MB / 0.4975 GB, free: 8.168 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007296/0.3881, allocations: 0.6313 MB / 0.4981 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.3887, allocations: 367.4 kB / 0.4985 GB, free: 7.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3888, allocations: 305.1 kB / 0.4988 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.3908, allocations: 1.124 MB / 0.4999 GB, free: 5.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.3931, allocations: 1.574 MB / 0.5014 GB, free: 3.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.3974, allocations: 2.78 MB / 0.5041 GB, free: 1.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3974, allocations: 4 kB / 0.5041 GB, free: 1.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006728/0.4041, allocations: 3.59 MB / 0.5076 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.4041, allocations: 15.94 kB / 0.5077 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4042, allocations: 12 kB / 0.5077 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/0.4062, allocations: 0.8017 MB / 0.5085 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.4081, allocations: 459.3 kB / 0.5089 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.4201, allocations: 10.67 MB / 0.5193 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.4221, allocations: 131.8 kB / 0.5194 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.4225, allocations: 76 kB / 0.5195 GB, free: 0.6758 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.002205/0.4247, allocations: 1.091 MB / 0.5206 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/0.4254, allocations: 262.3 kB / 0.5208 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00639/0.4318, allocations: 3.289 MB / 0.524 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4318, allocations: 20 kB / 0.5241 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.4318, allocations: 4 kB / 0.5241 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.4318, allocations: 11.97 kB / 0.5241 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.4462, allocations: 6.804 MB / 0.5307 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4462, allocations: 0 / 0.5307 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.4476, allocations: 299.6 kB / 0.531 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.4502, allocations: 0.9235 MB / 0.5319 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.4504, allocations: 47.97 kB / 0.5319 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2043/0.6547, allocations: 13.89 MB / 0.5455 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6547, allocations: 7.781 kB / 0.5455 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006256/0.661, allocations: 4.848 MB / 0.5503 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.6624, allocations: 0.5085 MB / 0.5508 GB, free: 96.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.6628, allocations: 38.91 kB / 0.5508 GB, free: 96.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.6641, allocations: 125.6 kB / 0.5509 GB, free: 96.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/0.6644, allocations: 160 kB / 0.5511 GB, free: 96.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.6645, allocations: 50.95 kB / 0.5511 GB, free: 96.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002053/0.6666, allocations: 1.633 MB / 0.5527 GB, free: 95.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6666, allocations: 0 / 0.5527 GB, free: 95.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002044/0.6686, allocations: 0.7065 MB / 0.5534 GB, free: 95.88 MB / 446.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.0003532/0.669, allocations: 206.2 kB / 0.5536 GB, free: 95.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004325/0.6733, allocations: 3.341 MB / 0.5569 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6733, allocations: 0 / 0.5569 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.6761, allocations: 2.345 MB / 0.5591 GB, free: 92.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.6791, allocations: 0.7177 MB / 0.5598 GB, free: 91.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009211/0.6883, allocations: 6.907 MB / 0.5666 GB, free: 84.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.6898, allocations: 2.477 MB / 0.569 GB, free: 82.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008147/0.6906, allocations: 163.4 kB / 0.5692 GB, free: 82.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.472e-06/0.6906, allocations: 4 kB / 0.5692 GB, free: 82.2 MB / 446.1 MB Notification: Performance of Templates: time 0.1576/0.8482, allocations: 168.2 MB / 0.7334 GB, free: 9.984 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.00623724400066]