Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007995/0.007995, allocations: 105.4 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.89 kB / 379.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2486, allocations: 53.36 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01438/0.2629, allocations: 11.97 MB / 445.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008131/0.2711, allocations: 3.841 MB / 449 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.2734, allocations: 91.38 kB / 449.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.2763, allocations: 0.9364 MB / 450 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.2806, allocations: 1.146 MB / 451.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2821, allocations: 0.5109 MB / 451.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006417/0.2885, allocations: 4.241 MB / 455.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.2918, allocations: 1.845 MB / 457.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.2952, allocations: 1.959 MB / 459.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.2998, allocations: 2.398 MB / 462.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.301, allocations: 0.4922 MB / 462.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.3026, allocations: 0.5975 MB / 463.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001905/0.3045, allocations: 1.418 MB / 464.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.3078, allocations: 2.209 MB / 466.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007865/0.3157, allocations: 6.591 MB / 473.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3157, allocations: 8 kB / 473.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3157, allocations: 0 / 473.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001698/0.3158, allocations: 0 / 473.4 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.009908/0.3257, allocations: 4.34 MB / 477.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3258, allocations: 8.031 kB / 477.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.3272, allocations: 494.2 kB / 478.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/0.332, allocations: 2.359 MB / 480.6 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.3322, allocations: 238.1 kB / 480.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/0.3327, allocations: 304 kB / 481.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008593/0.3413, allocations: 4.373 MB / 485.5 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/0.3414, allocations: 11.89 kB / 485.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.3417, allocations: 124 kB / 485.7 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.3418, allocations: 134 kB / 485.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00693/0.3488, allocations: 3.775 MB / 489.6 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02325/0.372, allocations: 13.26 MB / 0.491 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.3755, allocations: 2.081 MB / 0.4931 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.3783, allocations: 1.563 MB / 0.4946 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.3786, allocations: 45.28 kB / 0.4946 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.3786, allocations: 55.86 kB / 0.4947 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.427e-06/0.3786, allocations: 4 kB / 0.4947 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01893/0.3976, allocations: 8.509 MB / 0.503 GB, free: 4.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.3976, allocations: 69.41 kB / 0.5031 GB, free: 4.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/0.4016, allocations: 2.374 MB / 0.5054 GB, free: 1.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.4019, allocations: 57.7 kB / 0.5054 GB, free: 1.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4032, allocations: 1.505 MB / 0.5069 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007056/0.4039, allocations: 0.6393 MB / 0.5075 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.4046, allocations: 367.4 kB / 0.5079 GB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4047, allocations: 301.1 kB / 0.5082 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.4067, allocations: 1.124 MB / 0.5093 GB, free: 13.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.4092, allocations: 1.574 MB / 0.5108 GB, free: 11.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004506/0.4137, allocations: 2.78 MB / 0.5135 GB, free: 9.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.4137, allocations: 8 kB / 0.5135 GB, free: 9.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007217/0.421, allocations: 3.593 MB / 0.517 GB, free: 5.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.421, allocations: 15.94 kB / 0.5171 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.421, allocations: 12 kB / 0.5171 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/0.4233, allocations: 0.7986 MB / 0.5178 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.4254, allocations: 459.3 kB / 0.5183 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.4384, allocations: 10.67 MB / 0.5287 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.4404, allocations: 123.8 kB / 0.5288 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.4406, allocations: 83.95 kB / 0.5289 GB, free: 8.645 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.002183/0.4428, allocations: 1.091 MB / 0.53 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/0.4434, allocations: 262.3 kB / 0.5302 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006281/0.4497, allocations: 3.289 MB / 0.5334 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.4497, allocations: 16 kB / 0.5334 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.4498, allocations: 8 kB / 0.5335 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.4498, allocations: 11.95 kB / 0.5335 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2166/0.6664, allocations: 6.808 MB / 0.5401 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6664, allocations: 2.344 kB / 0.5401 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.6677, allocations: 298.7 kB / 0.5404 GB, free: 98.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/0.67, allocations: 0.9207 MB / 0.5413 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.6702, allocations: 48.45 kB / 0.5413 GB, free: 98.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.6809, allocations: 13.9 MB / 0.5549 GB, free: 87.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6809, allocations: 3.594 kB / 0.5549 GB, free: 87.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/0.6873, allocations: 4.856 MB / 0.5597 GB, free: 85.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.6887, allocations: 0.5124 MB / 0.5602 GB, free: 85.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.689, allocations: 35.64 kB / 0.5602 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6903, allocations: 121.4 kB / 0.5603 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.6907, allocations: 162.2 kB / 0.5605 GB, free: 85.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6908, allocations: 43.89 kB / 0.5605 GB, free: 85.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.6928, allocations: 1.64 MB / 0.5621 GB, free: 84.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6928, allocations: 0 / 0.5621 GB, free: 84.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002171/0.695, allocations: 0.7084 MB / 0.5628 GB, free: 84.21 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.0004035/0.6954, allocations: 214.2 kB / 0.563 GB, free: 84.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.6996, allocations: 3.335 MB / 0.5663 GB, free: 80.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6996, allocations: 0 / 0.5663 GB, free: 80.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.7024, allocations: 2.357 MB / 0.5686 GB, free: 78.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/0.7055, allocations: 0.7151 MB / 0.5693 GB, free: 77.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009827/0.7153, allocations: 6.928 MB / 0.576 GB, free: 70.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.7169, allocations: 2.482 MB / 0.5785 GB, free: 68.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/0.7177, allocations: 171.4 kB / 0.5786 GB, free: 68.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7177, allocations: 0 / 0.5786 GB, free: 68.14 MB / 446.1 MB Notification: Performance of Templates: time 0.3585/1.076, allocations: 168.9 MB / 0.7436 GB, free: 188.5 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.2189536630176]