Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 47.92 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2456, allocations: 53.36 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01659/0.2622, allocations: 11.96 MB / 443.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.2709, allocations: 3.845 MB / 447.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.2731, allocations: 95.38 kB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.276, allocations: 0.9211 MB / 448.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.2801, allocations: 1.158 MB / 449.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2816, allocations: 0.5032 MB / 450.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006024/0.2876, allocations: 4.245 MB / 454.4 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.2913, allocations: 1.84 MB / 456.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.2946, allocations: 1.963 MB / 458.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.2996, allocations: 2.394 MB / 460.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.3014, allocations: 0.4961 MB / 461.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.3035, allocations: 0.6014 MB / 461.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002473/0.306, allocations: 1.41 MB / 463.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003726/0.3097, allocations: 2.217 MB / 465.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008454/0.3182, allocations: 6.591 MB / 471.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3182, allocations: 0 / 471.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3182, allocations: 4 kB / 471.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001711/0.3183, allocations: 0 / 471.9 MB, free: 14.47 MB / 382.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.01101/0.3293, allocations: 4.344 MB / 476.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3294, allocations: 8.031 kB / 476.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.3309, allocations: 494.2 kB / 476.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/0.3362, allocations: 2.359 MB / 479.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.3364, allocations: 234.1 kB / 479.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007087/0.3371, allocations: 311.9 kB / 479.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008825/0.346, allocations: 4.365 MB / 484 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.075e-05/0.3461, allocations: 11.89 kB / 484 MB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.3464, allocations: 128 kB / 484.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.3465, allocations: 134 kB / 484.2 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007419/0.3539, allocations: 3.771 MB / 488 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.3798, allocations: 13.26 MB / 0.4895 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.3833, allocations: 2.082 MB / 0.4916 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.3862, allocations: 1.559 MB / 0.4931 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.3865, allocations: 57.25 kB / 0.4931 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.3865, allocations: 55.81 kB / 0.4932 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.357e-06/0.3865, allocations: 0 / 0.4932 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01943/0.406, allocations: 8.504 MB / 0.5015 GB, free: 4.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.406, allocations: 73.41 kB / 0.5016 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.4099, allocations: 2.374 MB / 0.5039 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.4101, allocations: 53.7 kB / 0.5039 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.4114, allocations: 1.509 MB / 0.5054 GB, free: 136 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006257/0.412, allocations: 0.6315 MB / 0.506 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006242/0.4126, allocations: 367.5 kB / 0.5064 GB, free: 15.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4128, allocations: 305.1 kB / 0.5067 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.4147, allocations: 1.124 MB / 0.5078 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.417, allocations: 1.57 MB / 0.5093 GB, free: 11.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.4212, allocations: 2.78 MB / 0.512 GB, free: 9.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4212, allocations: 4 kB / 0.512 GB, free: 9 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006527/0.4277, allocations: 3.597 MB / 0.5155 GB, free: 5.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4277, allocations: 15.94 kB / 0.5155 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.4278, allocations: 12 kB / 0.5156 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.4299, allocations: 0.805 MB / 0.5163 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.4318, allocations: 463.3 kB / 0.5168 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.444, allocations: 10.66 MB / 0.5272 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.4461, allocations: 119.9 kB / 0.5273 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.4464, allocations: 79.98 kB / 0.5274 GB, free: 8.637 MB / 446.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.002319/0.4487, allocations: 1.093 MB / 0.5285 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/0.4493, allocations: 266.3 kB / 0.5287 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006292/0.4556, allocations: 3.286 MB / 0.5319 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.4556, allocations: 20 kB / 0.5319 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.4557, allocations: 4 kB / 0.5319 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.4557, allocations: 7.969 kB / 0.5319 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2511/0.7068, allocations: 6.814 MB / 0.5386 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.7068, allocations: 2.688 kB / 0.5386 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.7081, allocations: 306 kB / 0.5389 GB, free: 98.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.7105, allocations: 0.9216 MB / 0.5398 GB, free: 98.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.7107, allocations: 43.36 kB / 0.5398 GB, free: 98.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.7215, allocations: 13.9 MB / 0.5534 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7215, allocations: 3.219 kB / 0.5534 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/0.7281, allocations: 4.861 MB / 0.5582 GB, free: 85.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.7296, allocations: 0.5082 MB / 0.5587 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.7301, allocations: 38.19 kB / 0.5587 GB, free: 85.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.7314, allocations: 126.4 kB / 0.5588 GB, free: 85.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/0.7318, allocations: 151.6 kB / 0.559 GB, free: 85.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.7319, allocations: 49.09 kB / 0.559 GB, free: 85.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002238/0.7342, allocations: 1.641 MB / 0.5606 GB, free: 84.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7342, allocations: 0 / 0.5606 GB, free: 84.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003084/0.7372, allocations: 0.7093 MB / 0.5613 GB, free: 84.2 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.0005286/0.7378, allocations: 214.1 kB / 0.5615 GB, free: 84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005625/0.7434, allocations: 3.334 MB / 0.5648 GB, free: 80.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.7434, allocations: 0 / 0.5648 GB, free: 80.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/0.7467, allocations: 2.355 MB / 0.5671 GB, free: 78.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/0.7502, allocations: 0.7163 MB / 0.5678 GB, free: 77.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7606, allocations: 6.91 MB / 0.5745 GB, free: 70.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.7624, allocations: 2.533 MB / 0.577 GB, free: 68.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001804/0.7642, allocations: 0.5789 MB / 0.5776 GB, free: 67.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.7647, allocations: 163.4 kB / 0.5777 GB, free: 67.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.7647, allocations: 0 / 0.5777 GB, free: 67.52 MB / 446.1 MB Notification: Performance of Templates: time 0.06037/0.825, allocations: 42.5 MB / 0.6192 GB, free: 25.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.797453244915232]