Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 76.08 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9862/0.9862, allocations: 173.3 MB / 201.1 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.106e-05, allocations: 10.25 kB / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01238/0.0124, allocations: 10.12 MB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.018, allocations: 3.182 MB / 281.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000784/0.01878, allocations: 75.5 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.02088, allocations: 0.6907 MB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.02343, allocations: 0.9236 MB / 283 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.02416, allocations: 411.3 kB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002997/0.02715, allocations: 3.065 MB / 286.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.02855, allocations: 1.344 MB / 287.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.03081, allocations: 2.019 MB / 289.8 MB, free: 424 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1243/0.1551, allocations: 1.609 MB / 291.4 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.1563, allocations: 354.1 kB / 291.8 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.1576, allocations: 452.6 kB / 292.2 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009372/0.1585, allocations: 1.067 MB / 293.3 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.1605, allocations: 1.116 MB / 294.4 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.1637, allocations: 2.634 MB / 297 MB, free: 17.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1637, allocations: 0 / 297 MB, free: 17.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1637, allocations: 1.75 kB / 297 MB, free: 17.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.687e-05/0.1637, allocations: 0.6875 kB / 297 MB, free: 17.44 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.004757/0.1685, allocations: 3.434 MB / 300.5 MB, free: 16.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.1686, allocations: 10.95 kB / 300.5 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.1695, allocations: 0.5232 MB / 301 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.1715, allocations: 1.605 MB / 302.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1716, allocations: 178.6 kB / 302.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.1719, allocations: 229 kB / 303 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.1744, allocations: 1.92 MB / 304.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.1745, allocations: 11.48 kB / 304.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.1746, allocations: 95 kB / 305 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.167e-05/0.1747, allocations: 108.1 kB / 305.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1763, allocations: 0.8759 MB / 306 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007283/0.1836, allocations: 8.008 MB / 314 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.1848, allocations: 0.7872 MB / 314.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.1855, allocations: 0.5499 MB / 315.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.1857, allocations: 60.23 kB / 315.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1857, allocations: 50.39 kB / 315.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 4.088e-06/0.1858, allocations: 0 / 315.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004988/0.1907, allocations: 3.372 MB / 318.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1908, allocations: 72.7 kB / 318.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1919, allocations: 1.404 MB / 320.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.192, allocations: 45.7 kB / 320.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.1924, allocations: 1.277 MB / 321.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.1926, allocations: 479 kB / 322.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.1928, allocations: 293.1 kB / 322.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.1929, allocations: 480.8 kB / 322.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.1932, allocations: 239.8 kB / 323.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.1938, allocations: 0.8184 MB / 323.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.1951, allocations: 1.17 MB / 325.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.1951, allocations: 4 kB / 325.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002015/0.1971, allocations: 1.441 MB / 326.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1971, allocations: 11.94 kB / 326.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.1971, allocations: 12 kB / 326.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.1977, allocations: 258.5 kB / 326.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.1986, allocations: 357.1 kB / 327.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.2027, allocations: 6.618 MB / 333.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.2037, allocations: 99.89 kB / 333.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-05/0.2038, allocations: 67.98 kB / 333.9 MB, free: 5.234 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008892/0.2047, allocations: 253.5 kB / 334.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.205, allocations: 230.8 kB / 334.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.2066, allocations: 1.163 MB / 335.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.2066, allocations: 12 kB / 335.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2066, allocations: 8 kB / 335.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2066, allocations: 4.031 kB / 335.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.2112, allocations: 3.329 MB / 338.9 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.2112, allocations: 4 kB / 338.9 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.2118, allocations: 235.6 kB / 339.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.2124, allocations: 290.6 kB / 339.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.2125, allocations: 39.98 kB / 339.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006587/0.2191, allocations: 8.404 MB / 347.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.2191, allocations: 7.562 kB / 347.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.2226, allocations: 1.726 MB / 349.6 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.2234, allocations: 330.7 kB / 349.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.2236, allocations: 28 kB / 350 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.2244, allocations: 83.91 kB / 350.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.2247, allocations: 128.4 kB / 350.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/0.2248, allocations: 36 kB / 350.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001422/0.2262, allocations: 0.8157 MB / 351 MB, free: 3.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2262, allocations: 0 / 351 MB, free: 3.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002198/0.2284, allocations: 0.4999 MB / 351.5 MB, free: 3.082 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0004239/0.2288, allocations: 204.2 kB / 351.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.2316, allocations: 1.54 MB / 353.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2316, allocations: 0 / 353.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.2335, allocations: 1.308 MB / 354.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.2352, allocations: 429.3 kB / 355 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008469/0.2437, allocations: 4.268 MB / 359.3 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.2445, allocations: 0.656 MB / 359.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001101/0.2456, allocations: 346.1 kB / 360.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.2461, allocations: 116.5 kB / 360.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of SimCode: time 2.224e-06/0.2461, allocations: 0 / 360.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of Templates: time 0.03889/0.285, allocations: 26.87 MB / 387.2 MB, free: 15.61 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_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.44718911126256]