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.001153/0.001153, allocations: 77.06 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.003051, allocations: 449.9 kB / 10.45 MB, free: 236 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.001161/0.001161, allocations: 161.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.002763, allocations: 479.5 kB / 11.83 MB, free: 2.336 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.8871/0.8871, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1896/1.077, allocations: 49.49 MB / 220.7 MB, free: 1.367 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.181e-05, allocations: 6.109 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008998/0.00901, allocations: 9.185 MB / 231.2 MB, free: 6.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.01321, allocations: 3.1 MB / 234.3 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.01362, allocations: 55.62 kB / 234.3 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.01445, allocations: 0.6326 MB / 235 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.01555, allocations: 0.8498 MB / 235.8 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.016, allocations: 367.4 kB / 236.2 MB, free: 1.801 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.01801, allocations: 2.8 MB / 239 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009233/0.01894, allocations: 1.1 MB / 240.1 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.02075, allocations: 2.105 MB / 242.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.02181, allocations: 1.364 MB / 243.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.02206, allocations: 300 kB / 243.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.02249, allocations: 387.8 kB / 244.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.02293, allocations: 0.7365 MB / 245 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.02353, allocations: 0.7915 MB / 245.8 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.02499, allocations: 2.11 MB / 247.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.02499, allocations: 4 kB / 247.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.025, allocations: 0 / 247.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.02502, allocations: 0 / 247.9 MB, free: 5.992 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.002564/0.02758, allocations: 3.113 MB / 251 MB, free: 2.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.02761, allocations: 8.031 kB / 251 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.02813, allocations: 461.6 kB / 251.4 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/0.02912, allocations: 0.945 MB / 252.4 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/0.0292, allocations: 148.4 kB / 252.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.0294, allocations: 208.3 kB / 252.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.03089, allocations: 1.577 MB / 254.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.03092, allocations: 15.83 kB / 254.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.03103, allocations: 80 kB / 254.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/0.0311, allocations: 95.92 kB / 254.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.03188, allocations: 0.6021 MB / 255.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.03668, allocations: 5.413 MB / 260.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.03732, allocations: 0.6763 MB / 261.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.0379, allocations: 483.5 kB / 261.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.03801, allocations: 44.97 kB / 261.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.03803, allocations: 47.5 kB / 261.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.084e-06/0.03803, allocations: 7.938 kB / 261.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.003916/0.04195, allocations: 2.55 MB / 264.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.04198, allocations: 64.41 kB / 264.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/0.04269, allocations: 0.987 MB / 265.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.04275, allocations: 45.7 kB / 265.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.04316, allocations: 0.8233 MB / 266.2 MB, free: 3.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.0434, allocations: 432.2 kB / 266.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.04364, allocations: 243.4 kB / 266.9 MB, free: 2.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.04374, allocations: 361.8 kB / 267.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.04397, allocations: 166.8 kB / 267.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.0443, allocations: 481.1 kB / 267.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.04499, allocations: 0.8219 MB / 268.7 MB, free: 332 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.045, allocations: 4 kB / 268.7 MB, free: 328 kB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001117/0.04611, allocations: 0.9132 MB / 269.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.04613, allocations: 8 kB / 269.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.04614, allocations: 11.94 kB / 269.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.04657, allocations: 219.2 kB / 269.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.04728, allocations: 347.5 kB / 270.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.04917, allocations: 3.158 MB / 273.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.04956, allocations: 51.97 kB / 273.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.04962, allocations: 43.98 kB / 273.4 MB, free: 11.36 MB / 282.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.000278/0.0499, allocations: 196.2 kB / 273.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.05005, allocations: 127.9 kB / 273.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009793/0.05103, allocations: 0.8265 MB / 274.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.05104, allocations: 15.94 kB / 274.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.05104, allocations: 0 / 274.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.05105, allocations: 11.97 kB / 274.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.0533, allocations: 2.083 MB / 276.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.05331, allocations: 0 / 276.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.05389, allocations: 288 kB / 277 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.05415, allocations: 206.9 kB / 277.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/0.05464, allocations: 259.5 kB / 277.4 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/0.05469, allocations: 31.98 kB / 277.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.05694, allocations: 4.362 MB / 281.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.05694, allocations: 0 / 281.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.05817, allocations: 1.209 MB / 283 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.05827, allocations: 31.98 kB / 283.1 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.05858, allocations: 39.98 kB / 283.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.05871, allocations: 104.7 kB / 283.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.05875, allocations: 27.98 kB / 283.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003609/0.05911, allocations: 489 kB / 283.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05911, allocations: 0 / 283.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006528/0.05976, allocations: 451.9 kB / 284.1 MB, free: 136 kB / 282.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%), (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.0869/0.1467, allocations: 161.4 kB / 284.3 MB, free: 49.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.1482, allocations: 0.9915 MB / 285.3 MB, free: 49.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.032e-05/0.1482, allocations: 28.42 kB / 285.3 MB, free: 49.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.1493, allocations: 1.018 MB / 286.3 MB, free: 49.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.1509, allocations: 3.835 MB / 290.2 MB, free: 45.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.1637, allocations: 3.616 MB / 293.8 MB, free: 43.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.1642, allocations: 0.5028 MB / 294.3 MB, free: 43.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004366/0.1646, allocations: 195.1 kB / 294.5 MB, free: 43.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/0.1653, allocations: 390.7 kB / 294.9 MB, free: 43.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1653, allocations: 0 / 294.9 MB, free: 43.43 MB / 282.7 MB Notification: Performance of Templates: time 0.02447/0.1898, allocations: 26.33 MB / 321.2 MB, free: 25.1 MB / 282.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.372078745625913]