Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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.001841/0.001841, allocations: 96.3 kB / 21.73 MB, free: 2.695 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.00232/0.00232, allocations: 163 kB / 25.02 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.291e-06, allocations: 3.984 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.424e-05, allocations: 6.312 kB / 250.4 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01501/0.01504, allocations: 10.33 MB / 260.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.02341, allocations: 3.643 MB / 264.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.02518, allocations: 75.44 kB / 264.4 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.02768, allocations: 0.8694 MB / 265.3 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.03143, allocations: 1.184 MB / 266.5 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.03281, allocations: 0.4915 MB / 267 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006603/0.03941, allocations: 4.407 MB / 271.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.04231, allocations: 1.73 MB / 273.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.04744, allocations: 2.822 MB / 275.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.05165, allocations: 2.085 MB / 278 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.05274, allocations: 0.4961 MB / 278.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.05414, allocations: 0.5818 MB / 279.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.05582, allocations: 1.449 MB / 280.5 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.05851, allocations: 1.528 MB / 282.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009262/0.06777, allocations: 6.665 MB / 288.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.06778, allocations: 0 / 288.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.06778, allocations: 0 / 288.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002073/0.06799, allocations: 3.938 kB / 288.7 MB, free: 13.33 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.01168/0.07967, allocations: 4.282 MB / 293 MB, free: 8.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.07971, allocations: 11.98 kB / 293 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.08144, allocations: 0.7052 MB / 293.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.08639, allocations: 2.273 MB / 296 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.08663, allocations: 230.5 kB / 296.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006055/0.08723, allocations: 316.1 kB / 296.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/0.09623, allocations: 4.591 MB / 301.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.37e-05/0.0963, allocations: 8 kB / 301.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.09664, allocations: 128 kB / 301.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.09681, allocations: 138 kB / 301.4 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1139/0.2107, allocations: 3.76 MB / 305.2 MB, free: 54.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.2284, allocations: 11.92 MB / 317.1 MB, free: 47.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.2308, allocations: 2.09 MB / 319.2 MB, free: 46.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.233, allocations: 1.574 MB / 320.8 MB, free: 44.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.2332, allocations: 61.28 kB / 320.8 MB, free: 44.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2332, allocations: 55.81 kB / 320.9 MB, free: 44.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.088e-06/0.2332, allocations: 0 / 320.9 MB, free: 44.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.01503/0.2482, allocations: 8.622 MB / 329.5 MB, free: 36.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2483, allocations: 69.41 kB / 329.6 MB, free: 36.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.2508, allocations: 2.136 MB / 331.7 MB, free: 33.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.251, allocations: 57.69 kB / 331.7 MB, free: 33.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006115/0.2516, allocations: 1.512 MB / 333.3 MB, free: 32.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.2519, allocations: 0.6229 MB / 333.9 MB, free: 31.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004971/0.2524, allocations: 367.4 kB / 334.2 MB, free: 31.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.2524, allocations: 305.1 kB / 334.5 MB, free: 31.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.2538, allocations: 1.123 MB / 335.7 MB, free: 30.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.2554, allocations: 1.563 MB / 337.2 MB, free: 28.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.2583, allocations: 2.792 MB / 340 MB, free: 25.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.2583, allocations: 0 / 340 MB, free: 25.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005129/0.2634, allocations: 3.668 MB / 343.7 MB, free: 21.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2634, allocations: 12.5 kB / 343.7 MB, free: 21.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.2635, allocations: 16 kB / 343.7 MB, free: 21.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.2658, allocations: 0.9113 MB / 344.6 MB, free: 20.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.2674, allocations: 459.3 kB / 345.1 MB, free: 20.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007538/0.2749, allocations: 10.51 MB / 355.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.2768, allocations: 123.8 kB / 355.7 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.277, allocations: 71.98 kB / 355.8 MB, free: 9.172 MB / 282.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.001701/0.2787, allocations: 1.095 MB / 356.9 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/0.2792, allocations: 302.4 kB / 357.2 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.2837, allocations: 3.268 MB / 360.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.2837, allocations: 16 kB / 360.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2837, allocations: 8 kB / 360.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.2837, allocations: 15.95 kB / 360.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/0.2933, allocations: 6.053 MB / 366.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.2933, allocations: 4 kB / 366.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.2947, allocations: 291.6 kB / 366.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/0.2981, allocations: 1.027 MB / 367.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.2983, allocations: 43.98 kB / 367.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.316, allocations: 13.67 MB / 381.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.316, allocations: 3.938 kB / 381.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009439/0.3254, allocations: 4.896 MB / 386.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/0.327, allocations: 494.2 kB / 386.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/0.3273, allocations: 43.98 kB / 387 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.3286, allocations: 115.9 kB / 387.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/0.329, allocations: 161.7 kB / 387.3 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.3292, allocations: 55.98 kB / 387.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002483/0.3317, allocations: 1.46 MB / 388.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3317, allocations: 0 / 388.8 MB, free: 7.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00231/0.334, allocations: 0.7032 MB / 389.5 MB, free: 6.555 MB / 314.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.00048/0.3345, allocations: 201.3 kB / 389.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006146/0.3406, allocations: 3.345 MB / 393 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3406, allocations: 0 / 393 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004184/0.3448, allocations: 2.353 MB / 395.4 MB, free: 496 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.348, allocations: 0.6233 MB / 396 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.3613, allocations: 6.741 MB / 402.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/0.3641, allocations: 1.974 MB / 404.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001888/0.3659, allocations: 0.5497 MB / 405.3 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.3665, allocations: 156.5 kB / 405.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.994e-06/0.3665, allocations: 0 / 405.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of Templates: time 0.1913/0.5578, allocations: 40.73 MB / 446.1 MB, free: 121 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aims.i_0_r in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat. Warning: Get data of variable aims.i_0_r from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.228963928064331]