Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.002219/0.002219, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002069/0.002069, allocations: 157.8 kB / 25.03 MB, free: 8.93 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.448/1.448, allocations: 158.6 MB / 186.8 MB, free: 2.914 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/4e-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_DOL): time 0.01871/0.01875, allocations: 9.227 MB / 259.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.0253, allocations: 2.973 MB / 262.6 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.02645, allocations: 51.69 kB / 262.6 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.02816, allocations: 0.6248 MB / 263.3 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.03051, allocations: 0.846 MB / 264.1 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.03132, allocations: 367.4 kB / 264.5 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.03494, allocations: 2.787 MB / 267.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.03669, allocations: 1.077 MB / 268.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.03959, allocations: 1.777 MB / 270.1 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.04232, allocations: 1.426 MB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006869/0.04301, allocations: 308 kB / 271.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.04402, allocations: 391.8 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.04521, allocations: 0.9426 MB / 273.2 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.04684, allocations: 0.9783 MB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.05282, allocations: 4.164 MB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.05283, allocations: 0 / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05283, allocations: 0 / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.668e-05/0.05292, allocations: 0 / 278.3 MB, free: 11.73 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007344/0.06027, allocations: 3.202 MB / 281.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.06031, allocations: 11.98 kB / 281.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.0615, allocations: 471.2 kB / 282 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.06457, allocations: 1.337 MB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.06473, allocations: 156.4 kB / 283.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.06507, allocations: 208.3 kB / 283.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005056/0.07013, allocations: 2.629 MB / 286.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/0.0702, allocations: 11.92 kB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.07042, allocations: 83.94 kB / 286.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.07054, allocations: 95.94 kB / 286.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.07436, allocations: 1.784 MB / 288.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.09123, allocations: 9.607 MB / 297.9 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.09305, allocations: 0.9429 MB / 298.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.09489, allocations: 0.7635 MB / 299.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.09513, allocations: 52.91 kB / 299.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.09518, allocations: 46.39 kB / 299.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.456e-06/0.09518, allocations: 0 / 299.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.01095/0.1061, allocations: 3.942 MB / 303.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1062, allocations: 64.41 kB / 303.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.1089, allocations: 1.644 MB / 305.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.109, allocations: 45.7 kB / 305.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.1102, allocations: 1.16 MB / 306.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005872/0.1108, allocations: 472.3 kB / 307 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/0.1114, allocations: 309.2 kB / 307.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.1118, allocations: 0.5785 MB / 307.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.1127, allocations: 419.7 kB / 308.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.1142, allocations: 0.906 MB / 309.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.1168, allocations: 1.432 MB / 310.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1168, allocations: 0 / 310.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00385/0.1207, allocations: 1.643 MB / 312.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.1207, allocations: 11.94 kB / 312.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.1207, allocations: 12 kB / 312.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/0.1217, allocations: 242.8 kB / 312.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.123, allocations: 323.5 kB / 312.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/0.1284, allocations: 4.545 MB / 317.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.1297, allocations: 91.86 kB / 317.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.1298, allocations: 48 kB / 317.5 MB, free: 3.027 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00119/0.131, allocations: 0.5976 MB / 318.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.1314, allocations: 199 kB / 318.3 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.1347, allocations: 1.366 MB / 319.7 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.1348, allocations: 12 kB / 319.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1348, allocations: 4 kB / 319.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.1348, allocations: 11.91 kB / 319.7 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/0.1434, allocations: 3.788 MB / 323.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1434, allocations: 0 / 323.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.1444, allocations: 224 kB / 323.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.1457, allocations: 302.2 kB / 324 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.1458, allocations: 35.97 kB / 324 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00698/0.1528, allocations: 6.391 MB / 330.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.1528, allocations: 7.969 kB / 330.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/0.1572, allocations: 2.055 MB / 332.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.1582, allocations: 294.9 kB / 332.8 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.1584, allocations: 24 kB / 332.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.1593, allocations: 75.91 kB / 332.9 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.1596, allocations: 116.7 kB / 333 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.1597, allocations: 35.98 kB / 333 MB, free: 2.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.1613, allocations: 0.9779 MB / 334 MB, free: 1.906 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1613, allocations: 3.938 kB / 334 MB, free: 1.902 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00151/0.1628, allocations: 459.9 kB / 334.5 MB, free: 1.453 MB / 314.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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.000403/0.1632, allocations: 182.9 kB / 334.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003371/0.1665, allocations: 1.654 MB / 336.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1665, allocations: 0 / 336.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.1688, allocations: 1.266 MB / 337.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.1707, allocations: 397.4 kB / 337.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.1777, allocations: 3.965 MB / 341.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.1792, allocations: 1.167 MB / 343.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001009/0.1802, allocations: 300.5 kB / 343.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.1805, allocations: 108.5 kB / 343.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1805, allocations: 0 / 343.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of Templates: time 0.1561/0.3367, allocations: 24.56 MB / 368 MB, free: 89.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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: 5.731428982922807]