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.00112/0.00112, allocations: 80.62 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001186/0.001186, allocations: 143.7 kB / 25.59 MB, free: 8.605 MB / 18.57 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 0.973/0.973, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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 1.663e-06/1.663e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.428e-05, allocations: 5.406 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008637/0.008651, allocations: 11.38 MB / 280.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.01306, allocations: 3.681 MB / 284.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.01366, allocations: 95.38 kB / 284.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.01482, allocations: 0.8654 MB / 285.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.0163, allocations: 1.192 MB / 286.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.01683, allocations: 495.2 kB / 286.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.01946, allocations: 4.361 MB / 291.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.02102, allocations: 1.79 MB / 293.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.02337, allocations: 3.068 MB / 296.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.02521, allocations: 2.19 MB / 298.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004815/0.02569, allocations: 492 kB / 298.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.02632, allocations: 0.5701 MB / 299.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.02715, allocations: 1.414 MB / 300.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.02882, allocations: 1.512 MB / 302.3 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004568/0.03339, allocations: 3.563 MB / 305.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.03339, allocations: 0 / 305.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.0334, allocations: 0 / 305.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001537/0.03355, allocations: 0 / 305.8 MB, free: 4.957 MB / 282.7 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.004823/0.03837, allocations: 4.335 MB / 310.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.0384, allocations: 11.97 kB / 310.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/0.03928, allocations: 0.7053 MB / 310.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.04127, allocations: 2.067 MB / 313 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.04139, allocations: 234.5 kB / 313.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.04167, allocations: 316.1 kB / 313.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.04406, allocations: 2.458 MB / 316 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/0.04411, allocations: 11.89 kB / 316 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.04429, allocations: 128 kB / 316.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.028e-05/0.04437, allocations: 126 kB / 316.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.04637, allocations: 0.9151 MB / 317.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.06226, allocations: 10.74 MB / 327.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.06401, allocations: 1.088 MB / 329 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.06502, allocations: 0.7416 MB / 329.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.06518, allocations: 57.23 kB / 329.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.06521, allocations: 58.69 kB / 329.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=164): time 2.445e-06/0.06522, allocations: 0 / 329.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=180): time 0.006187/0.0714, allocations: 3.586 MB / 333.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.07144, allocations: 69.41 kB / 333.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.07299, allocations: 1.761 MB / 335.2 MB, free: 6.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.129e-05/0.07307, allocations: 57.7 kB / 335.3 MB, free: 6.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/0.07392, allocations: 1.629 MB / 336.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.07426, allocations: 0.6625 MB / 337.6 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.07464, allocations: 384.9 kB / 338 MB, free: 4.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.07474, allocations: 484.7 kB / 338.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.07509, allocations: 239.8 kB / 338.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.07571, allocations: 0.8804 MB / 339.5 MB, free: 2.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.07689, allocations: 1.282 MB / 340.8 MB, free: 0.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.07689, allocations: 11.88 kB / 340.8 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001996/0.07889, allocations: 1.681 MB / 342.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.07891, allocations: 12 kB / 342.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.07892, allocations: 12 kB / 342.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.07996, allocations: 0.4995 MB / 343 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.08077, allocations: 415.4 kB / 343.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/0.08581, allocations: 10.03 MB / 353.5 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.08647, allocations: 67.97 kB / 353.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/0.08656, allocations: 64.03 kB / 353.6 MB, free: 3.254 MB / 330.7 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.0005035/0.08706, allocations: 282.2 kB / 353.9 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/0.08762, allocations: 302.4 kB / 354.2 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.08969, allocations: 1.471 MB / 355.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.0897, allocations: 16 kB / 355.7 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.08972, allocations: 8 kB / 355.7 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.08974, allocations: 11.91 kB / 355.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1332/0.223, allocations: 3.462 MB / 359.1 MB, free: 80.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.223, allocations: 4.719 kB / 359.2 MB, free: 80.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/0.2238, allocations: 270 kB / 359.4 MB, free: 80.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.2254, allocations: 0.5666 MB / 360 MB, free: 80.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.2255, allocations: 40.84 kB / 360 MB, free: 80.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.2366, allocations: 13.52 MB / 373.5 MB, free: 68.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2366, allocations: 0 / 373.5 MB, free: 68.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/0.2423, allocations: 1.994 MB / 375.5 MB, free: 67.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.243, allocations: 402.4 kB / 375.9 MB, free: 67.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.2432, allocations: 41.2 kB / 376 MB, free: 67.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/0.2469, allocations: 71.28 kB / 376 MB, free: 67.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.2472, allocations: 142 kB / 376.2 MB, free: 67.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.2473, allocations: 44.89 kB / 376.2 MB, free: 67.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009024/0.2482, allocations: 0.9401 MB / 377.2 MB, free: 67.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2482, allocations: 0 / 377.2 MB, free: 67.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004666/0.2528, allocations: 0.6895 MB / 377.9 MB, free: 67.73 MB / 330.7 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%), (1,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.2532, allocations: 207.8 kB / 378.1 MB, free: 67.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007936/0.2611, allocations: 2.077 MB / 380.1 MB, free: 66.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2611, allocations: 0 / 380.1 MB, free: 66.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004363/0.2655, allocations: 1.935 MB / 382.1 MB, free: 65.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.2672, allocations: 0.6288 MB / 382.7 MB, free: 65.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.2733, allocations: 5.571 MB / 388.3 MB, free: 61.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.2738, allocations: 0.9058 MB / 389.2 MB, free: 61.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006158/0.2745, allocations: 279.9 kB / 389.4 MB, free: 60.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008831/0.2753, allocations: 0.6536 MB / 390.1 MB, free: 60.44 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2753, allocations: 0 / 390.1 MB, free: 60.44 MB / 330.7 MB Notification: Performance of Templates: time 0.04203/0.3174, allocations: 43.02 MB / 433.1 MB, free: 18.17 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.102371465880424]