Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.0009575/0.0009575, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001015/0.001015, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.943e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01222/0.01226, allocations: 9.396 MB / 282.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.01893, allocations: 3.003 MB / 285.4 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.02045, allocations: 63.56 kB / 285.5 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.022, allocations: 0.6247 MB / 286.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.02417, allocations: 0.8576 MB / 286.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.02491, allocations: 363.4 kB / 287.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.02766, allocations: 2.761 MB / 290.1 MB, free: 360 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1783/0.206, allocations: 1.126 MB / 291.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.209, allocations: 1.943 MB / 293.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.211, allocations: 1.369 MB / 294.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.2118, allocations: 300.6 kB / 294.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.2126, allocations: 401.2 kB / 295.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.2132, allocations: 0.9036 MB / 296.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.2149, allocations: 0.9607 MB / 297 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.2172, allocations: 2.267 MB / 299.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2172, allocations: 1.156 kB / 299.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2172, allocations: 0 / 299.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.145e-05/0.2172, allocations: 2.688 kB / 299.3 MB, free: 15.54 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.003249/0.2205, allocations: 2.981 MB / 302.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2205, allocations: 9.625 kB / 302.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.2213, allocations: 499 kB / 302.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.2228, allocations: 1.414 MB / 304.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.2229, allocations: 156.6 kB / 304.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.2231, allocations: 201.9 kB / 304.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.2251, allocations: 1.689 MB / 306.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.2252, allocations: 3.719 kB / 306.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.2253, allocations: 87.61 kB / 306.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.2254, allocations: 99.17 kB / 306.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2267, allocations: 0.7526 MB / 307.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/0.2329, allocations: 6.897 MB / 314.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.2337, allocations: 0.7204 MB / 314.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/0.2345, allocations: 0.5592 MB / 315.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.2346, allocations: 44.97 kB / 315.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2346, allocations: 58.31 kB / 315.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 4.529e-06/0.2346, allocations: 0 / 315.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004791/0.2394, allocations: 3.095 MB / 318.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.2395, allocations: 64.41 kB / 318.6 MB, free: 2.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.2405, allocations: 1.23 MB / 319.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.2405, allocations: 45.7 kB / 319.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.2409, allocations: 1.109 MB / 321 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.2412, allocations: 442.3 kB / 321.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.2415, allocations: 263.8 kB / 321.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2416, allocations: 0.547 MB / 322.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.242, allocations: 219.9 kB / 322.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.2426, allocations: 0.675 MB / 323.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2437, allocations: 1.011 MB / 324.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.2437, allocations: 7.938 kB / 324.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001765/0.2455, allocations: 1.26 MB / 325.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2455, allocations: 14.34 kB / 325.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2455, allocations: 11.94 kB / 325.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.2461, allocations: 218.9 kB / 325.6 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.2468, allocations: 314.3 kB / 326 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.2497, allocations: 4.431 MB / 330.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.2507, allocations: 75.89 kB / 330.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.2508, allocations: 55.98 kB / 330.5 MB, free: 5.805 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.0007266/0.2515, allocations: 241.8 kB / 330.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.2518, allocations: 206.9 kB / 330.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.2533, allocations: 1.056 MB / 332 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.2533, allocations: 12 kB / 332 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2533, allocations: 4 kB / 332 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2533, allocations: 11.95 kB / 332 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.2574, allocations: 2.932 MB / 335 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2574, allocations: 288 / 335 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.258, allocations: 218.1 kB / 335.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/0.2587, allocations: 277.4 kB / 335.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/0.2588, allocations: 35.92 kB / 335.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.2623, allocations: 6.174 MB / 341.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2623, allocations: 8.031 kB / 341.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.2646, allocations: 1.541 MB / 343.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.2653, allocations: 286.9 kB / 343.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2654, allocations: 27.98 kB / 343.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.2658, allocations: 63.94 kB / 343.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.266, allocations: 112 kB / 343.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.2661, allocations: 31.98 kB / 343.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008554/0.2669, allocations: 0.7166 MB / 344.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2669, allocations: 0 / 344.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001331/0.2683, allocations: 452 kB / 344.9 MB, free: 6.977 MB / 298.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.0003407/0.2686, allocations: 193.6 kB / 345.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.2705, allocations: 1.299 MB / 346.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2705, allocations: 0 / 346.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2715, allocations: 1.069 MB / 347.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.2729, allocations: 394.1 kB / 347.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.2786, allocations: 3.768 MB / 351.6 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.279, allocations: 0.5711 MB / 352.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008594/0.2799, allocations: 304.4 kB / 352.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.2801, allocations: 112.5 kB / 352.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 2.905e-06/0.2801, allocations: 0 / 352.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.0333/0.3134, allocations: 25.08 MB / 377.6 MB, free: 6.496 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.6921115638688207]