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.001858/0.001858, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.0022/0.0022, allocations: 156.3 kB / 24.48 MB, free: 3.461 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.42/1.42, allocations: 173.4 MB / 201 MB, free: 12.71 MB / 190.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.001543/0.001543, allocations: 49.95 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.09118, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01337/0.1045, allocations: 10.38 MB / 382 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.1115, allocations: 3.56 MB / 385.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.1124, allocations: 91.44 kB / 385.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.1143, allocations: 0.85 MB / 386.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.117, allocations: 1.15 MB / 387.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1181, allocations: 483.4 kB / 388.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.1229, allocations: 4.234 MB / 392.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.1254, allocations: 1.775 MB / 394.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.128, allocations: 1.955 MB / 396 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.1315, allocations: 2.308 MB / 398.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007458/0.1323, allocations: 0.4999 MB / 398.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.1334, allocations: 0.578 MB / 399.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1349, allocations: 1.41 MB / 400.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.1374, allocations: 1.789 MB / 402.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007274/0.1447, allocations: 6.602 MB / 409.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1447, allocations: 0 / 409.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1447, allocations: 0 / 409.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.1448, allocations: 4 kB / 409.2 MB, free: 1.48 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.01077/0.1556, allocations: 4.323 MB / 413.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1556, allocations: 12.92 kB / 413.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1568, allocations: 454.3 kB / 414 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00459/0.1613, allocations: 2.353 MB / 416.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.1616, allocations: 226.2 kB / 416.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.162, allocations: 315.9 kB / 416.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008088/0.1701, allocations: 4.607 MB / 421.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-05/0.1702, allocations: 15.88 kB / 421.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/0.1705, allocations: 124 kB / 421.6 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.1707, allocations: 134 kB / 421.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007165/0.1778, allocations: 3.767 MB / 425.5 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.2006, allocations: 11.74 MB / 437.3 MB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.2039, allocations: 2.077 MB / 439.4 MB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/0.2069, allocations: 1.571 MB / 440.9 MB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.2071, allocations: 49.28 kB / 441 MB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.2072, allocations: 59.75 kB / 441 MB, free: 1.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.897e-06/0.2072, allocations: 0 / 441 MB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01915/0.2263, allocations: 8.464 MB / 449.5 MB, free: 8.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.2264, allocations: 69.41 kB / 449.6 MB, free: 8.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.2301, allocations: 2.136 MB / 451.7 MB, free: 6.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.2302, allocations: 57.7 kB / 451.8 MB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.2315, allocations: 1.511 MB / 453.3 MB, free: 4.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.2321, allocations: 0.6352 MB / 453.9 MB, free: 4.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000668/0.2327, allocations: 363.4 kB / 454.3 MB, free: 3.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2329, allocations: 309.1 kB / 454.6 MB, free: 3.422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.2349, allocations: 1.12 MB / 455.7 MB, free: 2.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.2375, allocations: 1.57 MB / 457.3 MB, free: 0.5547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/0.2419, allocations: 2.788 MB / 460 MB, free: 13.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.2419, allocations: 4 kB / 460 MB, free: 13.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006765/0.2487, allocations: 3.574 MB / 463.6 MB, free: 9.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.2487, allocations: 8 kB / 463.6 MB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.2487, allocations: 16 kB / 463.6 MB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.2509, allocations: 0.7943 MB / 464.4 MB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.2528, allocations: 463.3 kB / 464.9 MB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2058/0.4586, allocations: 10.47 MB / 475.4 MB, free: 86.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.4606, allocations: 127.1 kB / 475.5 MB, free: 86.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.4607, allocations: 77.92 kB / 475.6 MB, free: 86.66 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.001743/0.4625, allocations: 1.091 MB / 476.6 MB, free: 86.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.4629, allocations: 238.4 kB / 476.9 MB, free: 86.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/0.4686, allocations: 3.27 MB / 480.1 MB, free: 85.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4687, allocations: 18.41 kB / 480.2 MB, free: 85.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.4687, allocations: 9.438 kB / 480.2 MB, free: 85.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.4687, allocations: 8.25 kB / 480.2 MB, free: 85.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.4787, allocations: 6.037 MB / 486.2 MB, free: 83.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4787, allocations: 7.016 kB / 486.2 MB, free: 83.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.48, allocations: 302 kB / 486.5 MB, free: 83.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.4821, allocations: 0.9133 MB / 487.4 MB, free: 83.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.4822, allocations: 41.23 kB / 487.5 MB, free: 83.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009831/0.492, allocations: 13.66 MB / 0.4894 GB, free: 72.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.492, allocations: 2.156 kB / 0.4894 GB, free: 72.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.4991, allocations: 4.84 MB / 0.4941 GB, free: 68.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.5007, allocations: 489.8 kB / 0.4946 GB, free: 68.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/0.5012, allocations: 39.94 kB / 0.4946 GB, free: 68.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.5027, allocations: 126.5 kB / 0.4947 GB, free: 67.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.5031, allocations: 161.6 kB / 0.4949 GB, free: 67.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.5032, allocations: 54.83 kB / 0.4949 GB, free: 67.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.5052, allocations: 1.452 MB / 0.4964 GB, free: 66.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5052, allocations: 0 / 0.4964 GB, free: 66.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002207/0.5074, allocations: 0.6972 MB / 0.497 GB, free: 65.61 MB / 430.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.0003732/0.5078, allocations: 216.8 kB / 0.4973 GB, free: 65.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004623/0.5124, allocations: 3.332 MB / 0.5005 GB, free: 62.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5124, allocations: 4.75 kB / 0.5005 GB, free: 62.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/0.5154, allocations: 2.353 MB / 0.5028 GB, free: 59.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.5186, allocations: 0.6168 MB / 0.5034 GB, free: 59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.5288, allocations: 6.823 MB / 0.5101 GB, free: 52.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/0.5309, allocations: 1.97 MB / 0.512 GB, free: 50.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001603/0.5325, allocations: 0.5577 MB / 0.5125 GB, free: 49.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/0.5331, allocations: 152.5 kB / 0.5127 GB, free: 49.45 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5331, allocations: 0 / 0.5127 GB, free: 49.45 MB / 430.1 MB Notification: Performance of Templates: time 0.05216/0.5852, allocations: 40.84 MB / 0.5526 GB, free: 9.051 MB / 430.1 MB " [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 -s ida -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: 6.127124064951204]