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.0021/0.0021, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002368/0.002368, allocations: 161.7 kB / 24.26 MB, free: 176 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.582/1.582, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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 2.034e-06/2.034e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.758e-05, allocations: 6.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.02416/0.0242, allocations: 10.43 MB / 282.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.03709, allocations: 3.658 MB / 286.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.03905, allocations: 95.38 kB / 286.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003089/0.04214, allocations: 0.8741 MB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.04538, allocations: 1.176 MB / 288.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.04675, allocations: 0.5031 MB / 289.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1196/0.1663, allocations: 4.376 MB / 293.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.1704, allocations: 1.783 MB / 295.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006121/0.1765, allocations: 2.837 MB / 298.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/0.1808, allocations: 2.083 MB / 300.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.1823, allocations: 0.4952 MB / 300.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.1848, allocations: 0.6009 MB / 301.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.1864, allocations: 1.462 MB / 302.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.1893, allocations: 1.524 MB / 304.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.1951, allocations: 6.679 MB / 310.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1951, allocations: 0 / 310.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1951, allocations: 3.781 kB / 310.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.1952, allocations: 0 / 310.9 MB, free: 8.645 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.007931/0.2031, allocations: 4.309 MB / 315.2 MB, free: 4.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2032, allocations: 8.031 kB / 315.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.2046, allocations: 0.739 MB / 316 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.208, allocations: 2.442 MB / 318.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.2081, allocations: 234.5 kB / 318.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.2085, allocations: 311.8 kB / 318.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008311/0.2168, allocations: 4.61 MB / 323.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.49e-05/0.2169, allocations: 7.328 kB / 323.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.2173, allocations: 128 kB / 323.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.2174, allocations: 130 kB / 323.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/0.2251, allocations: 3.775 MB / 327.6 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02336/0.2484, allocations: 11.91 MB / 339.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/0.2522, allocations: 2.084 MB / 341.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.2554, allocations: 1.563 MB / 343.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.2557, allocations: 65.28 kB / 343.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.2557, allocations: 51.88 kB / 343.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.777e-06/0.2558, allocations: 0 / 343.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.02061/0.2764, allocations: 8.551 MB / 351.8 MB, free: 136 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.2764, allocations: 72.97 kB / 351.9 MB, free: 52 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/0.2802, allocations: 2.161 MB / 354.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.2804, allocations: 57.7 kB / 354.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.2819, allocations: 1.517 MB / 355.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007045/0.2826, allocations: 0.621 MB / 356.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007031/0.2833, allocations: 367.4 kB / 356.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2834, allocations: 301.1 kB / 356.9 MB, free: 11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.2855, allocations: 1.128 MB / 358 MB, free: 9.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.2882, allocations: 1.564 MB / 359.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.2931, allocations: 2.786 MB / 362.4 MB, free: 5.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.2931, allocations: 4 kB / 362.4 MB, free: 5.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007741/0.3009, allocations: 3.669 MB / 366.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.3009, allocations: 20.05 kB / 366.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.301, allocations: 12 kB / 366.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/0.3039, allocations: 0.9099 MB / 367 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.3058, allocations: 459.2 kB / 367.4 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.3196, allocations: 10.49 MB / 377.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.3216, allocations: 128 kB / 378.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.3218, allocations: 75.98 kB / 378.1 MB, free: 5.09 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.002138/0.324, allocations: 1.095 MB / 379.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/0.3247, allocations: 306.4 kB / 379.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006709/0.3315, allocations: 3.265 MB / 382.8 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.3315, allocations: 20 kB / 382.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3315, allocations: 4 kB / 382.8 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.3315, allocations: 11.97 kB / 382.8 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.3444, allocations: 6.062 MB / 388.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.3444, allocations: 4 kB / 388.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.3458, allocations: 299.1 kB / 389.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.3493, allocations: 1.022 MB / 390.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.3495, allocations: 39.98 kB / 390.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.367, allocations: 13.69 MB / 403.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.367, allocations: 4.031 kB / 403.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009566/0.3766, allocations: 4.903 MB / 408.8 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.3782, allocations: 0.4905 MB / 409.3 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/0.3786, allocations: 36 kB / 409.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.3801, allocations: 119.9 kB / 409.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/0.3806, allocations: 156.9 kB / 409.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.3808, allocations: 51.98 kB / 409.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002601/0.3834, allocations: 1.468 MB / 411.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3834, allocations: 4 kB / 411.2 MB, free: 3.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002382/0.3857, allocations: 0.7069 MB / 411.9 MB, free: 2.621 MB / 362.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.0004952/0.3862, allocations: 204.7 kB / 412.1 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006646/0.3929, allocations: 3.337 MB / 415.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.3929, allocations: 4 kB / 415.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.397, allocations: 2.349 MB / 417.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.3999, allocations: 0.6421 MB / 418.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.4129, allocations: 6.741 MB / 425.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/0.4157, allocations: 1.982 MB / 427.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001961/0.4177, allocations: 0.5654 MB / 427.7 MB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.4182, allocations: 152.5 kB / 427.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4182, allocations: 0 / 427.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of Templates: time 0.1893/0.6075, allocations: 40.95 MB / 468.8 MB, free: 96.8 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=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.440913322032429]