Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.0009845/0.0009845, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002433, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001022/0.001022, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002313, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9203/0.9203, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.153/1.073, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.674e-05, allocations: 10.25 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01201/0.01204, allocations: 8.717 MB / 230.6 MB, free: 7.391 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.0176, allocations: 2.972 MB / 233.5 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.01883, allocations: 47.69 kB / 233.6 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.02027, allocations: 0.621 MB / 234.2 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.02218, allocations: 0.7877 MB / 235 MB, free: 2.941 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.02279, allocations: 331.5 kB / 235.3 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.02498, allocations: 2.505 MB / 237.8 MB, free: 104 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.02613, allocations: 0.9845 MB / 238.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.0289, allocations: 1.907 MB / 240.7 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.03044, allocations: 1.216 MB / 241.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005291/0.03097, allocations: 272 kB / 242.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.03161, allocations: 355.8 kB / 242.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.03212, allocations: 0.6624 MB / 243.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.03295, allocations: 0.7057 MB / 243.9 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.03484, allocations: 1.877 MB / 245.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.03485, allocations: 0 / 245.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.03485, allocations: 0 / 245.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.644e-05/0.0349, allocations: 0 / 245.8 MB, free: 8.047 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003186/0.03808, allocations: 2.804 MB / 248.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.03812, allocations: 8.031 kB / 248.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.03876, allocations: 413.7 kB / 249 MB, free: 4.777 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.03996, allocations: 0.8577 MB / 249.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.04004, allocations: 136 kB / 250 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.04023, allocations: 184.3 kB / 250.2 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.04177, allocations: 1.394 MB / 251.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.04181, allocations: 15.88 kB / 251.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.04191, allocations: 72 kB / 251.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.761e-05/0.04198, allocations: 83.5 kB / 251.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.04275, allocations: 0.5305 MB / 252.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.04796, allocations: 4.783 MB / 257 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.04862, allocations: 0.5473 MB / 257.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.04918, allocations: 426.5 kB / 258 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.04931, allocations: 40.98 kB / 258.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.04934, allocations: 39.56 kB / 258.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.128e-06/0.04934, allocations: 4 kB / 258.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003812/0.05316, allocations: 2.222 MB / 260.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.05319, allocations: 64.41 kB / 260.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.05383, allocations: 0.8749 MB / 261.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.05388, allocations: 41.7 kB / 261.3 MB, free: 8.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.0542, allocations: 0.7676 MB / 262.1 MB, free: 7.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.05438, allocations: 368.8 kB / 262.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.05459, allocations: 202.8 kB / 262.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.05468, allocations: 357.8 kB / 263 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.05487, allocations: 133.4 kB / 263.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.05517, allocations: 436.3 kB / 263.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.05577, allocations: 0.7014 MB / 264.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.05578, allocations: 0 / 264.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001243/0.05702, allocations: 0.9431 MB / 265.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.05704, allocations: 8 kB / 265.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.05705, allocations: 8 kB / 265.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.05802, allocations: 487.8 kB / 265.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.05856, allocations: 251.7 kB / 265.9 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.06205, allocations: 4.161 MB / 270.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.06259, allocations: 40.11 kB / 270.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.06265, allocations: 40 kB / 270.1 MB, free: 14.74 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004076/0.06305, allocations: 176.5 kB / 270.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.06325, allocations: 123.8 kB / 270.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/0.06421, allocations: 0.7429 MB / 271.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.06422, allocations: 12 kB / 271.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.06422, allocations: 0 / 271.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.06423, allocations: 7.984 kB / 271.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.06658, allocations: 1.853 MB / 273.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.06658, allocations: 0 / 273.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.06704, allocations: 187.8 kB / 273.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.06732, allocations: 175 kB / 273.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/0.0679, allocations: 301.7 kB / 273.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.06795, allocations: 23.98 kB / 273.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.07034, allocations: 4.374 MB / 278.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.07035, allocations: 7.984 kB / 278.1 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.07158, allocations: 1.066 MB / 279.2 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.07171, allocations: 23.98 kB / 279.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.07204, allocations: 35.98 kB / 279.2 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.07217, allocations: 76.84 kB / 279.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/0.07221, allocations: 27.98 kB / 279.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003901/0.0726, allocations: 448.5 kB / 279.8 MB, free: 4.652 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0726, allocations: 0 / 279.8 MB, free: 4.652 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009758/0.07358, allocations: 423.9 kB / 280.2 MB, free: 4.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002543/0.07383, allocations: 160.1 kB / 280.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.07506, allocations: 1.005 MB / 281.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.025e-05/0.0751, allocations: 27.11 kB / 281.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006769/0.07577, allocations: 0.7402 MB / 282.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.07665, allocations: 430.3 kB / 282.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.111/0.1876, allocations: 3.298 MB / 285.8 MB, free: 47.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.1881, allocations: 465.5 kB / 286.3 MB, free: 47.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005384/0.1886, allocations: 168.5 kB / 286.5 MB, free: 47.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.1891, allocations: 333.5 kB / 286.8 MB, free: 47.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1891, allocations: 0 / 286.8 MB, free: 47.46 MB / 282.7 MB Notification: Performance of Templates: time 0.03025/0.2194, allocations: 24.39 MB / 311.2 MB, free: 34.42 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.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: 3.1786153726279736]