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.001206/0.001206, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001332/0.001332, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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.06/1.06, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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 5.31e-06/5.31e-06, allocations: 4 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/4.362e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01544/0.01548, allocations: 11.76 MB / 284.8 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008667/0.02415, allocations: 3.783 MB / 288.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.02609, allocations: 91.38 kB / 288.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.02812, allocations: 0.8819 MB / 289.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1637/0.1919, allocations: 1.18 MB / 290.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.1944, allocations: 0.4935 MB / 291.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007733/0.2021, allocations: 4.384 MB / 295.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004022/0.2062, allocations: 1.787 MB / 297.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007324/0.2135, allocations: 2.872 MB / 300.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/0.2203, allocations: 2.255 MB / 302.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.2224, allocations: 0.4955 MB / 303 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.2253, allocations: 0.5978 MB / 303.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.227, allocations: 1.471 MB / 305 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003413/0.2304, allocations: 1.549 MB / 306.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.2349, allocations: 3.635 MB / 310.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2349, allocations: 0.8125 kB / 310.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2349, allocations: 0 / 310.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.235, allocations: 2.469 kB / 310.2 MB, free: 9.809 MB / 266.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.005629/0.2406, allocations: 4.569 MB / 314.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.2407, allocations: 8.031 kB / 314.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.2418, allocations: 0.7286 MB / 315.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.2446, allocations: 2.237 MB / 317.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.861e-05/0.2447, allocations: 234.5 kB / 318 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.2449, allocations: 312 kB / 318.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.2485, allocations: 2.668 MB / 321 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.2485, allocations: 10.95 kB / 321 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.2487, allocations: 124 kB / 321.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.2488, allocations: 126 kB / 321.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.2515, allocations: 1.167 MB / 322.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.2683, allocations: 11.07 MB / 333.5 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.2701, allocations: 1.144 MB / 334.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.2714, allocations: 0.8319 MB / 335.4 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.2716, allocations: 65.22 kB / 335.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.2716, allocations: 58.64 kB / 335.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 6.873e-06/0.2717, allocations: 0 / 335.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.008863/0.2805, allocations: 4.485 MB / 340 MB, free: 12.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.2806, allocations: 73.41 kB / 340.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.283, allocations: 1.837 MB / 342 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.2831, allocations: 57.7 kB / 342 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009595/0.2841, allocations: 1.627 MB / 343.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/0.2848, allocations: 0.6433 MB / 344.3 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.2852, allocations: 385.1 kB / 344.7 MB, free: 7.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2854, allocations: 476.8 kB / 345.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.286, allocations: 327.8 kB / 345.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000999/0.287, allocations: 0.9467 MB / 346.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.2887, allocations: 1.427 MB / 347.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/0.2887, allocations: 4 kB / 347.8 MB, free: 4 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003064/0.2918, allocations: 1.857 MB / 349.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.2918, allocations: 12 kB / 349.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.2918, allocations: 12 kB / 349.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.2932, allocations: 0.5187 MB / 350.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009858/0.2942, allocations: 453 kB / 350.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.3017, allocations: 10.29 MB / 361 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.3033, allocations: 127.7 kB / 361.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.3035, allocations: 76 kB / 361.2 MB, free: 6.164 MB / 314.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.001148/0.3047, allocations: 279.1 kB / 361.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/0.3053, allocations: 310.4 kB / 361.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.3078, allocations: 1.624 MB / 363.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3078, allocations: 16 kB / 363.4 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.3078, allocations: 8 kB / 363.4 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3078, allocations: 7.969 kB / 363.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/0.3152, allocations: 4.33 MB / 367.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.3152, allocations: 0 / 367.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/0.3159, allocations: 293.2 kB / 368 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.3175, allocations: 0.6161 MB / 368.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.3176, allocations: 39.98 kB / 368.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008518/0.3261, allocations: 13.98 MB / 382.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3261, allocations: 0 / 382.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/0.3298, allocations: 2.216 MB / 384.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.3309, allocations: 466.4 kB / 385.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.3312, allocations: 39.98 kB / 385.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.3319, allocations: 115.9 kB / 385.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.3323, allocations: 161.2 kB / 385.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.3324, allocations: 51.98 kB / 385.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.334, allocations: 1.054 MB / 386.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.334, allocations: 3.938 kB / 386.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00239/0.3363, allocations: 0.707 MB / 387.4 MB, free: 10.95 MB / 346.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%), (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.0004293/0.3368, allocations: 208.8 kB / 387.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.3398, allocations: 2.253 MB / 389.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3398, allocations: 0 / 389.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.3416, allocations: 2.095 MB / 392 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.3435, allocations: 0.646 MB / 392.6 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009534/0.353, allocations: 5.629 MB / 398.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.3542, allocations: 0.907 MB / 399.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001608/0.3558, allocations: 455.1 kB / 399.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.3563, allocations: 148.5 kB / 399.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of SimCode: time 2.625e-06/0.3563, allocations: 0 / 399.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of Templates: time 0.1848/0.5411, allocations: 41.07 MB / 440.8 MB, free: 105.6 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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","",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.483851823955774]