Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001244/0.001244, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001101/0.001101, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9718/0.9718, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.541e-05, allocations: 2.312 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008681/0.008707, allocations: 10.11 MB / 283.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.01422, allocations: 3.264 MB / 286.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.01568, allocations: 75.5 kB / 286.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.01726, allocations: 0.6946 MB / 287.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.01967, allocations: 0.9236 MB / 288.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.02047, allocations: 431.2 kB / 288.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1113/0.1317, allocations: 3.07 MB / 291.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.1341, allocations: 1.338 MB / 293 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.1375, allocations: 2.033 MB / 295 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.1402, allocations: 1.616 MB / 296.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008639/0.1411, allocations: 353.3 kB / 297 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.1421, allocations: 465.3 kB / 297.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.1431, allocations: 1.076 MB / 298.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.1449, allocations: 1.118 MB / 299.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.1482, allocations: 2.652 MB / 302.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1482, allocations: 0 / 302.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1482, allocations: 0 / 302.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.904e-05/0.1483, allocations: 0 / 302.3 MB, free: 14.16 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.004891/0.1532, allocations: 3.451 MB / 305.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1532, allocations: 11.22 kB / 305.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.1543, allocations: 0.5562 MB / 306.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.1564, allocations: 1.628 MB / 307.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.1565, allocations: 183.6 kB / 308.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.1567, allocations: 233.4 kB / 308.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.1593, allocations: 1.917 MB / 310.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.1593, allocations: 11.55 kB / 310.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.1595, allocations: 96.41 kB / 310.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-05/0.1596, allocations: 105.6 kB / 310.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.1612, allocations: 0.8838 MB / 311.3 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/0.1696, allocations: 8.009 MB / 319.3 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.1706, allocations: 0.7914 MB / 320.1 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.1714, allocations: 0.5327 MB / 320.7 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.1716, allocations: 60.97 kB / 320.7 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1716, allocations: 50.39 kB / 320.8 MB, free: 356 kB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.336e-06/0.1716, allocations: 0 / 320.8 MB, free: 356 kB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.00609/0.1777, allocations: 3.395 MB / 324.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1777, allocations: 68.7 kB / 324.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.1793, allocations: 1.424 MB / 325.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.222e-05/0.1794, allocations: 45.7 kB / 325.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/0.1802, allocations: 1.281 MB / 327 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.1805, allocations: 485.6 kB / 327.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/0.1808, allocations: 293.1 kB / 327.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.1809, allocations: 476.8 kB / 328.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.1814, allocations: 239.8 kB / 328.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.1821, allocations: 0.8085 MB / 329.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1836, allocations: 1.182 MB / 330.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.1836, allocations: 4 kB / 330.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002262/0.1859, allocations: 1.435 MB / 331.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.1859, allocations: 15.94 kB / 331.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1859, allocations: 12 kB / 331.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.1865, allocations: 255.2 kB / 332.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.1873, allocations: 352.3 kB / 332.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.1914, allocations: 6.611 MB / 339.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.1925, allocations: 103.9 kB / 339.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/0.1926, allocations: 60.05 kB / 339.3 MB, free: 13.15 MB / 298.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.0006892/0.1933, allocations: 253.6 kB / 339.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.1936, allocations: 234.7 kB / 339.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.1953, allocations: 1.176 MB / 340.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.1953, allocations: 12 kB / 340.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.1953, allocations: 4 kB / 340.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1954, allocations: 7.969 kB / 340.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.1999, allocations: 3.332 MB / 344.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1999, allocations: 4 kB / 344.3 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/0.2007, allocations: 229.9 kB / 344.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00067/0.2014, allocations: 302 kB / 344.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/0.2014, allocations: 39.98 kB / 344.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004711/0.2062, allocations: 8.412 MB / 353.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.2062, allocations: 4 kB / 353.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.2088, allocations: 1.723 MB / 355 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.2094, allocations: 326.7 kB / 355.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.2096, allocations: 31.98 kB / 355.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.2101, allocations: 83.91 kB / 355.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.2103, allocations: 124.5 kB / 355.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.2104, allocations: 35.98 kB / 355.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.2114, allocations: 0.8241 MB / 356.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2114, allocations: 4 kB / 356.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001442/0.2128, allocations: 0.5038 MB / 356.9 MB, free: 10.94 MB / 314.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.0003498/0.2132, allocations: 202.8 kB / 357.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.2152, allocations: 1.539 MB / 358.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2152, allocations: 0 / 358.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.2167, allocations: 1.288 MB / 359.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.2181, allocations: 442.2 kB / 360.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/0.2241, allocations: 4.267 MB / 364.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.2247, allocations: 0.6482 MB / 365.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008585/0.2255, allocations: 342.3 kB / 365.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.2258, allocations: 128.5 kB / 365.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of SimCode: time 2.044e-06/0.2258, allocations: 7.938 kB / 365.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of Templates: time 0.03478/0.2606, allocations: 26.98 MB / 392.7 MB, free: 7.387 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.403881133068353]