Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.0009055/0.0009055, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008647/0.0008647, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 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.925/0.925, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.217e-05, allocations: 5.969 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0084/0.008412, allocations: 11.41 MB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005575/0.01399, allocations: 3.985 MB / 283.9 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.01473, allocations: 79.5 kB / 284 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.01587, allocations: 0.8712 MB / 284.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.01723, allocations: 1.063 MB / 285.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.01781, allocations: 0.5419 MB / 286.5 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.01977, allocations: 3.563 MB / 290 MB, free: 352 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1025/0.1223, allocations: 1.521 MB / 291.6 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.1253, allocations: 2.538 MB / 294.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.1276, allocations: 1.716 MB / 295.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008021/0.1284, allocations: 399.2 kB / 296.2 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1294, allocations: 0.6253 MB / 296.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.1302, allocations: 1.155 MB / 298 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.1318, allocations: 1.255 MB / 299.2 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.1343, allocations: 2.991 MB / 302.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1343, allocations: 0.75 kB / 302.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1343, allocations: 0 / 302.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.125e-05/0.1344, allocations: 0 / 302.2 MB, free: 15.86 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.003305/0.1377, allocations: 3.441 MB / 305.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1378, allocations: 11.14 kB / 305.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/0.1386, allocations: 0.5442 MB / 306.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.1399, allocations: 1.295 MB / 307.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.14, allocations: 206 kB / 307.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.1402, allocations: 271.8 kB / 308 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.1419, allocations: 2.061 MB / 310.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.142, allocations: 3.75 kB / 310.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.1421, allocations: 114.1 kB / 310.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.001e-05/0.1422, allocations: 122.2 kB / 310.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/0.1432, allocations: 0.785 MB / 311.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.1488, allocations: 7.204 MB / 318.3 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.1495, allocations: 0.7987 MB / 319.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.15, allocations: 467.2 kB / 319.5 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.1501, allocations: 68.72 kB / 319.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1502, allocations: 43.88 kB / 319.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 2.655e-06/0.1502, allocations: 0 / 319.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=148): time 0.003947/0.1541, allocations: 2.908 MB / 322.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.1541, allocations: 68.72 kB / 322.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.1548, allocations: 1.289 MB / 323.9 MB, free: 180 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.1549, allocations: 53.7 kB / 324 MB, free: 120 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.1553, allocations: 1.107 MB / 325.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.1556, allocations: 0.5319 MB / 325.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.1558, allocations: 302.8 kB / 325.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.1559, allocations: 309.1 kB / 326.2 MB, free: 14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.1562, allocations: 206.6 kB / 326.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.1566, allocations: 0.6699 MB / 327.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.1575, allocations: 1.075 MB / 328.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.1575, allocations: 7.938 kB / 328.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001381/0.1589, allocations: 1.19 MB / 329.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1589, allocations: 12 kB / 329.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1589, allocations: 16 kB / 329.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.1595, allocations: 294.5 kB / 329.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.1604, allocations: 409.9 kB / 330.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.1629, allocations: 3.749 MB / 333.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.1634, allocations: 63.94 kB / 333.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/0.1635, allocations: 59.98 kB / 333.9 MB, free: 6.012 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.1639, allocations: 225.4 kB / 334.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.1641, allocations: 175.7 kB / 334.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1653, allocations: 0.9846 MB / 335.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.1654, allocations: 23.84 kB / 335.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1654, allocations: 8 kB / 335.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1654, allocations: 7.969 kB / 335.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.1686, allocations: 2.846 MB / 338.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1686, allocations: 0 / 338.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.1693, allocations: 337.7 kB / 338.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006741/0.17, allocations: 324.8 kB / 338.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.17, allocations: 35.98 kB / 338.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.173, allocations: 4.957 MB / 343.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.173, allocations: 4 kB / 343.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.1745, allocations: 1.437 MB / 345.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.1749, allocations: 247 kB / 345.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.175, allocations: 35.98 kB / 345.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.1755, allocations: 55.97 kB / 345.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.1756, allocations: 124.5 kB / 345.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.1757, allocations: 35.98 kB / 345.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005359/0.1762, allocations: 0.6494 MB / 346.4 MB, free: 9.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1762, allocations: 4 kB / 346.4 MB, free: 9.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00112/0.1773, allocations: 0.5741 MB / 347 MB, free: 9.148 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.0003032/0.1777, allocations: 217.5 kB / 347.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.179, allocations: 1.204 MB / 348.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.889e-05/0.179, allocations: 25.81 kB / 348.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.1798, allocations: 0.9078 MB / 349.3 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.1809, allocations: 447.8 kB / 349.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.1863, allocations: 4.551 MB / 354.3 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.1869, allocations: 0.6227 MB / 354.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.1874, allocations: 247.6 kB / 355.2 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/0.1882, allocations: 455.1 kB / 355.6 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1882, allocations: 4 kB / 355.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of Templates: time 0.03681/0.225, allocations: 30.4 MB / 386 MB, free: 2.602 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_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.550653416197747]