Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.0008291/0.0008291, allocations: 91.61 kB / 22.19 MB, free: 2.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.0009895/0.0009895, allocations: 162 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7988/0.7988, allocations: 158.6 MB / 187.2 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 299.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.218e-05, allocations: 6.281 kB / 299.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002727/0.002749, allocations: 2.626 MB / 302.4 MB, free: 316 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1308/0.1336, allocations: 0.7143 MB / 303.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1337, allocations: 7 kB / 303.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1338, allocations: 46.19 kB / 303.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.134, allocations: 115.6 kB / 303.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1342, allocations: 107.3 kB / 303.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.1346, allocations: 397.8 kB / 303.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1348, allocations: 66.59 kB / 303.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.1351, allocations: 216.6 kB / 304 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1352, allocations: 117.3 kB / 304.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.1353, allocations: 36.53 kB / 304.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.996e-05/0.1353, allocations: 32.38 kB / 304.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1354, allocations: 72.25 kB / 304.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1355, allocations: 120.1 kB / 304.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.1359, allocations: 366.9 kB / 304.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1359, allocations: 1.969 kB / 304.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1359, allocations: 0.5156 kB / 304.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1359, allocations: 3.5 kB / 304.8 MB, free: 13.53 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008886/0.1368, allocations: 0.5961 MB / 305.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1368, allocations: 13.17 kB / 305.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1369, allocations: 37.75 kB / 305.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1372, allocations: 225.5 kB / 305.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1372, allocations: 18.44 kB / 305.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1372, allocations: 20.47 kB / 305.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.1376, allocations: 326.7 kB / 306 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1376, allocations: 192 / 306 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1376, allocations: 10.66 kB / 306 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1377, allocations: 12.31 kB / 306 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.1381, allocations: 270.2 kB / 306.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.1391, allocations: 0.7325 MB / 307 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.1396, allocations: 258.4 kB / 307.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.1398, allocations: 116.7 kB / 307.4 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1398, allocations: 2.969 kB / 307.4 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.1401, allocations: 247.9 kB / 307.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.1401, allocations: 4 kB / 307.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.00104/0.1412, allocations: 0.4983 MB / 308.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1412, allocations: 111.3 kB / 308.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1414, allocations: 262.5 kB / 308.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1414, allocations: 26.8 kB / 308.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.1415, allocations: 184.5 kB / 308.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1415, allocations: 61.75 kB / 308.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1416, allocations: 48.41 kB / 308.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.1416, allocations: 336 kB / 309.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1418, allocations: 140.2 kB / 309.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.142, allocations: 242.7 kB / 309.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.1423, allocations: 275.1 kB / 309.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1423, allocations: 4.031 kB / 309.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006116/0.1429, allocations: 449.6 kB / 310.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.143, allocations: 34.56 kB / 310.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.143, allocations: 1.984 kB / 310.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.1433, allocations: 96.67 kB / 310.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1434, allocations: 65.41 kB / 310.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008585/0.1443, allocations: 1.429 MB / 311.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1444, allocations: 44 kB / 311.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1444, allocations: 11.22 kB / 311.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001948/0.1446, allocations: 216.4 kB / 312.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001924/0.1448, allocations: 241 kB / 312.3 MB, free: 8.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002956/0.1451, allocations: 254.9 kB / 312.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1451, allocations: 5.312 kB / 312.6 MB, free: 8.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004392/0.1455, allocations: 372.5 kB / 312.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.1456, allocations: 37.22 kB / 313 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1456, allocations: 2.531 kB / 313 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.148e-05/0.1456, allocations: 24.64 kB / 313 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1458, allocations: 65.86 kB / 313.1 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005093/0.1463, allocations: 1.407 MB / 314.5 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1464, allocations: 49.36 kB / 314.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1465, allocations: 11.09 kB / 314.5 MB, free: 6.668 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.11e-05/0.1466, allocations: 205.2 kB / 314.7 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1466, allocations: 24.64 kB / 314.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.1466, allocations: 26.28 kB / 314.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1466, allocations: 2.188 kB / 314.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1466, allocations: 0 / 314.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1466, allocations: 3.141 kB / 314.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007401/0.1474, allocations: 0.614 MB / 315.4 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1474, allocations: 1.844 kB / 315.4 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1475, allocations: 48.73 kB / 315.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.1476, allocations: 55.44 kB / 315.5 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1476, allocations: 5.375 kB / 315.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.1484, allocations: 1.41 MB / 316.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1484, allocations: 0 / 316.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.1491, allocations: 0.5082 MB / 317.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.1491, allocations: 25.14 kB / 317.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1491, allocations: 6.625 kB / 317.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1493, allocations: 34.64 kB / 317.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1493, allocations: 26.11 kB / 317.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1493, allocations: 9 kB / 317.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1495, allocations: 184.6 kB / 317.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1495, allocations: 0 / 317.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.1498, allocations: 135.4 kB / 317.8 MB, free: 4.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.578e-05/0.1499, allocations: 101 kB / 317.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.1507, allocations: 0.7451 MB / 318.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1507, allocations: 1.375 kB / 318.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.1509, allocations: 232.4 kB / 318.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1512, allocations: 43.58 kB / 319 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.152, allocations: 0.5446 MB / 319.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.1521, allocations: 147.7 kB / 319.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.1521, allocations: 27.19 kB / 319.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1521, allocations: 0 / 319.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Templates: time 0.004951/0.1571, allocations: 4.632 MB / 324.3 MB, free: 1.461 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.367011217400432]