Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.002012/0.002012, allocations: 91.66 kB / 21.73 MB, free: 2.676 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.001982/0.001982, allocations: 163.5 kB / 25.03 MB, free: 8.949 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.44/1.44, allocations: 158.6 MB / 186.8 MB, free: 2.906 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.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.909e-05, allocations: 2.312 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01404/0.01406, allocations: 9.64 MB / 260 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007384/0.02145, allocations: 3.093 MB / 263.1 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.02362, allocations: 55.62 kB / 263.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.02575, allocations: 0.6597 MB / 263.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.02876, allocations: 0.8925 MB / 264.7 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.02968, allocations: 391.4 kB / 265.1 MB, free: 9.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.03405, allocations: 3.215 MB / 268.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.03607, allocations: 1.268 MB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.03995, allocations: 2.058 MB / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.04275, allocations: 1.621 MB / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.04336, allocations: 364 kB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009783/0.04434, allocations: 447.8 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.04557, allocations: 1.056 MB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.04733, allocations: 1.111 MB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006438/0.05377, allocations: 4.818 MB / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.05377, allocations: 0 / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.05378, allocations: 4 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.05389, allocations: 4 kB / 281 MB, free: 8.973 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008607/0.0625, allocations: 3.622 MB / 284.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.06256, allocations: 19.91 kB / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.06386, allocations: 0.5107 MB / 285.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.06725, allocations: 1.512 MB / 286.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.06745, allocations: 172.9 kB / 286.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/0.06785, allocations: 240.3 kB / 287.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/0.0738, allocations: 3.094 MB / 290.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.07387, allocations: 7.891 kB / 290.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.0741, allocations: 92 kB / 290.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.07424, allocations: 104.4 kB / 290.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.07898, allocations: 2.145 MB / 292.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/0.09854, allocations: 11.3 MB / 303.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.1008, allocations: 1.225 MB / 305.1 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.1028, allocations: 0.869 MB / 305.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.103, allocations: 52.97 kB / 306 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.1031, allocations: 46.39 kB / 306 MB, free: 15.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=126): time 3.336e-06/0.1031, allocations: 0 / 306 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=142): time 0.0158/0.1189, allocations: 5.615 MB / 311.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.1189, allocations: 64.72 kB / 311.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/0.1225, allocations: 1.845 MB / 313.6 MB, free: 7.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.1227, allocations: 53.7 kB / 313.6 MB, free: 7.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.1241, allocations: 1.279 MB / 314.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006837/0.1247, allocations: 0.5427 MB / 315.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006805/0.1254, allocations: 365.1 kB / 315.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.1257, allocations: 480.7 kB / 316.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.1269, allocations: 0.5621 MB / 316.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.1286, allocations: 1.117 MB / 317.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.132, allocations: 1.823 MB / 319.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.132, allocations: 0 / 319.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005212/0.1372, allocations: 2.279 MB / 322 MB, free: 14.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1372, allocations: 8 kB / 322.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.1373, allocations: 12 kB / 322.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.1395, allocations: 0.6668 MB / 322.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.1407, allocations: 299.6 kB / 323 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.1536, allocations: 9.566 MB / 332.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.1553, allocations: 91.91 kB / 332.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.1555, allocations: 64.03 kB / 332.7 MB, free: 3.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.157, allocations: 0.6796 MB / 333.4 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/0.1576, allocations: 230.8 kB / 333.6 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00532/0.1629, allocations: 2.012 MB / 335.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.163, allocations: 12 kB / 335.7 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.163, allocations: 8 kB / 335.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/0.163, allocations: 11.91 kB / 335.7 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.1746, allocations: 4.767 MB / 340.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.1746, allocations: 4 kB / 340.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/0.1755, allocations: 199.9 kB / 340.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/0.1784, allocations: 0.7242 MB / 341.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.1785, allocations: 39.97 kB / 341.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1355/0.314, allocations: 11.3 MB / 352.7 MB, free: 95.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.314, allocations: 3.656 kB / 352.7 MB, free: 95.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008355/0.3224, allocations: 2.937 MB / 355.7 MB, free: 95.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/0.3239, allocations: 356.5 kB / 356 MB, free: 95.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/0.3245, allocations: 33.86 kB / 356 MB, free: 95.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.3261, allocations: 77.41 kB / 356.1 MB, free: 95.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/0.3267, allocations: 155.1 kB / 356.3 MB, free: 95.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/0.3268, allocations: 38.89 kB / 356.3 MB, free: 95.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002368/0.3292, allocations: 1.083 MB / 357.4 MB, free: 95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3292, allocations: 0 / 357.4 MB, free: 95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002941/0.3322, allocations: 0.5524 MB / 357.9 MB, free: 95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0005298/0.3327, allocations: 198.2 kB / 358.1 MB, free: 94.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005306/0.338, allocations: 2.428 MB / 360.6 MB, free: 94.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.338, allocations: 0 / 360.6 MB, free: 94.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002809/0.3408, allocations: 1.859 MB / 362.4 MB, free: 93.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.3434, allocations: 479.3 kB / 362.9 MB, free: 93.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.3508, allocations: 4.64 MB / 367.5 MB, free: 90.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.3523, allocations: 1.343 MB / 368.9 MB, free: 89.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.3535, allocations: 314.2 kB / 369.2 MB, free: 88.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.354, allocations: 112.5 kB / 369.3 MB, free: 88.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.913e-06/0.354, allocations: 0 / 369.3 MB, free: 88.68 MB / 330.7 MB Notification: Performance of Templates: time 0.04011/0.3941, allocations: 32.59 MB / 401.9 MB, free: 56.11 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.104082102072425]