Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.0008184/0.0008184, allocations: 78.28 kB / 21.42 MB, free: 3.07 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.001219/0.001219, allocations: 156.6 kB / 24.81 MB, free: 9.273 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 1.029/1.029, allocations: 173.4 MB / 201.4 MB, free: 9.227 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.67e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005156/0.005172, allocations: 5.688 MB / 274.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.007277, allocations: 1.631 MB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.007621, allocations: 59.69 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.00806, allocations: 325.4 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.008813, allocations: 385.1 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.009241, allocations: 367.3 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.01057, allocations: 2.078 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.01189, allocations: 1.552 MB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.01301, allocations: 1.618 MB / 282.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.01397, allocations: 1.158 MB / 283.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.01421, allocations: 308 kB / 283.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.01469, allocations: 467.5 kB / 284 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.01509, allocations: 0.7635 MB / 284.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005604/0.01565, allocations: 0.881 MB / 285.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.01706, allocations: 2.091 MB / 287.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.01706, allocations: 0 / 287.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01707, allocations: 4 kB / 287.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.01708, allocations: 0 / 287.7 MB, free: 2.75 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.002308/0.01939, allocations: 2.581 MB / 290.3 MB, free: 120 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.01942, allocations: 8.922 kB / 290.3 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1078/0.1272, allocations: 433.9 kB / 290.7 MB, free: 29.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.1286, allocations: 1.068 MB / 291.8 MB, free: 28.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1288, allocations: 175.2 kB / 292 MB, free: 28.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.129, allocations: 218 kB / 292.2 MB, free: 28.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.131, allocations: 1.204 MB / 293.4 MB, free: 28.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.131, allocations: 0 / 293.4 MB, free: 28.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.1311, allocations: 100.5 kB / 293.5 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/0.1312, allocations: 56.33 kB / 293.6 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1322, allocations: 0.5249 MB / 294.1 MB, free: 28.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/0.1389, allocations: 5.695 MB / 299.8 MB, free: 25.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.1394, allocations: 404.6 kB / 300.2 MB, free: 25.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.1398, allocations: 315.2 kB / 300.5 MB, free: 25.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.1399, allocations: 11.38 kB / 300.5 MB, free: 25.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1399, allocations: 40.58 kB / 300.5 MB, free: 25.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.535e-06/0.1399, allocations: 3.938 kB / 300.5 MB, free: 25.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001619/0.1415, allocations: 1.128 MB / 301.7 MB, free: 25.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.1415, allocations: 66.67 kB / 301.7 MB, free: 25.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.1421, allocations: 0.6785 MB / 302.4 MB, free: 24.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1421, allocations: 36.45 kB / 302.4 MB, free: 24.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.1425, allocations: 1.015 MB / 303.5 MB, free: 24.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1426, allocations: 242.3 kB / 303.7 MB, free: 23.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.1428, allocations: 158.6 kB / 303.8 MB, free: 23.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1429, allocations: 0.5962 MB / 304.4 MB, free: 23.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1431, allocations: 86.88 kB / 304.5 MB, free: 23.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.1433, allocations: 422.2 kB / 304.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.1438, allocations: 0.5693 MB / 305.5 MB, free: 22.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1438, allocations: 2.688 kB / 305.5 MB, free: 22.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007647/0.1446, allocations: 0.6144 MB / 306.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1446, allocations: 10.64 kB / 306.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1446, allocations: 6.031 kB / 306.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.1448, allocations: 79.41 kB / 306.2 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.1452, allocations: 158.8 kB / 306.4 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.1462, allocations: 2.289 MB / 308.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.1465, allocations: 23.53 kB / 308.7 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.1465, allocations: 29.95 kB / 308.7 MB, free: 20.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002462/0.1468, allocations: 204.7 kB / 308.9 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1469, allocations: 101.5 kB / 309 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.147, allocations: 89.91 kB / 309.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.147, allocations: 12 kB / 309.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.147, allocations: 4.969 kB / 309.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.147, allocations: 5.031 kB / 309.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1492, allocations: 1.882 MB / 311 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1492, allocations: 4 kB / 311 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1494, allocations: 95.83 kB / 311.1 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.1496, allocations: 67.7 kB / 311.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1496, allocations: 16.11 kB / 311.2 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008535/0.1504, allocations: 2.262 MB / 313.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1504, allocations: 4 kB / 313.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.1511, allocations: 0.7451 MB / 314.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1513, allocations: 123.4 kB / 314.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.1514, allocations: 16 kB / 314.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1516, allocations: 27.92 kB / 314.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.1517, allocations: 44.42 kB / 314.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.1517, allocations: 15.98 kB / 314.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.1519, allocations: 394.9 kB / 314.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1519, allocations: 0 / 314.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007348/0.1527, allocations: 322.6 kB / 315.1 MB, free: 14.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.1528, allocations: 135 kB / 315.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.1534, allocations: 0.5947 MB / 315.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1534, allocations: 0 / 315.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.1538, allocations: 409.3 kB / 316.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.1545, allocations: 219 kB / 316.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.1575, allocations: 2.876 MB / 319.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1578, allocations: 0.5201 MB / 319.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.1581, allocations: 99.05 kB / 320 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.1585, allocations: 278 kB / 320.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1585, allocations: 0 / 320.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01969/0.1781, allocations: 13.21 MB / 333.4 MB, free: 12.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.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: 2.884468358941376]