Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.0008108/0.0008108, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002046, allocations: 445.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006358/0.0006358, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009803/0.001616, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9522/0.9522, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.057, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.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.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 239.8 MB, free: 3.051 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.65e-05, allocations: 9.625 kB / 239.8 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003026/0.003043, allocations: 3.099 MB / 242.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.004058, allocations: 0.7906 MB / 243.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004173, allocations: 4 kB / 243.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.924e-05/0.004272, allocations: 55.44 kB / 243.7 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.004422, allocations: 123 kB / 243.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.004598, allocations: 123.7 kB / 244 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.004924, allocations: 482 kB / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.005096, allocations: 106 kB / 244.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.005396, allocations: 307.9 kB / 244.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.005568, allocations: 147.6 kB / 245 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.005617, allocations: 44 kB / 245 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.005662, allocations: 44 kB / 245.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.005718, allocations: 67.81 kB / 245.1 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.005808, allocations: 107.8 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.006079, allocations: 267 kB / 245.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.006092, allocations: 0 / 245.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.006092, allocations: 4 kB / 245.5 MB, free: 13.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.006105, allocations: 0 / 245.5 MB, free: 13.28 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000782/0.006887, allocations: 0.6572 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.006918, allocations: 16.03 kB / 246.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.006984, allocations: 48.89 kB / 246.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.007202, allocations: 196.7 kB / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.007218, allocations: 21.03 kB / 246.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.007263, allocations: 32.36 kB / 246.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.007563, allocations: 309.7 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.007573, allocations: 192 / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.007592, allocations: 19.88 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.007601, allocations: 8 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.007704, allocations: 76.5 kB / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.008908, allocations: 0.8624 MB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.009089, allocations: 126.4 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.009157, allocations: 44.84 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.009177, allocations: 0 / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.009341, allocations: 177.2 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 8.52e-07/0.009342, allocations: 0 / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004419/0.009784, allocations: 236.9 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.009816, allocations: 63.34 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.009953, allocations: 253.2 kB / 248.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.00997, allocations: 25.7 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.01005, allocations: 196.8 kB / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.01008, allocations: 59.53 kB / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.01013, allocations: 53.64 kB / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.01023, allocations: 342.8 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.01028, allocations: 53.97 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.01038, allocations: 210.4 kB / 249.5 MB, free: 8.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.01052, allocations: 198.6 kB / 249.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01052, allocations: 0 / 249.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002547/0.01078, allocations: 269.5 kB / 250 MB, free: 8.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.01081, allocations: 37.69 kB / 250 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01082, allocations: 4 kB / 250 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.01097, allocations: 49.12 kB / 250.1 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.01115, allocations: 87.88 kB / 250.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007824/0.01193, allocations: 1.394 MB / 251.6 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01205, allocations: 39.83 kB / 251.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01206, allocations: 15.98 kB / 251.6 MB, free: 6.691 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 8.703e-05/0.01215, allocations: 137.6 kB / 251.7 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.01217, allocations: 15.98 kB / 251.8 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.0122, allocations: 34.11 kB / 251.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.0122, allocations: 0 / 251.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.0122, allocations: 12.02 kB / 251.8 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.0122, allocations: 0 / 251.8 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.01256, allocations: 388 kB / 252.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01257, allocations: 11.92 kB / 252.2 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01268, allocations: 43.97 kB / 252.2 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.0127, allocations: 19.86 kB / 252.3 MB, free: 6.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.694e-05/0.0128, allocations: 40.86 kB / 252.3 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01281, allocations: 11.94 kB / 252.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005469/0.01336, allocations: 1.194 MB / 253.5 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01336, allocations: 0 / 253.5 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.01359, allocations: 276.9 kB / 253.8 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.01361, allocations: 4.125 kB / 253.8 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.01371, allocations: 27.97 kB / 253.8 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.01375, allocations: 19.91 kB / 253.8 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01376, allocations: 8 kB / 253.8 MB, free: 4.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.01382, allocations: 90.75 kB / 253.9 MB, free: 4.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01382, allocations: 4 kB / 253.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.01403, allocations: 79.84 kB / 254 MB, free: 4.148 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 8.174e-05/0.01412, allocations: 87.59 kB / 254.1 MB, free: 4.059 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.01449, allocations: 358.3 kB / 254.4 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.0145, allocations: 9.031 kB / 254.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.01462, allocations: 169.9 kB / 254.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.01501, allocations: 0.5436 MB / 255.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.01706, allocations: 0.6497 MB / 255.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.0171, allocations: 88.62 kB / 255.9 MB, free: 2.051 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.368e-05/0.01718, allocations: 34.95 kB / 255.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.01731, allocations: 107.3 kB / 256 MB, free: 1.914 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01731, allocations: 4 kB / 256 MB, free: 1.91 MB / 250.7 MB Notification: Performance of Templates: time 0.006437/0.02375, allocations: 4.84 MB / 260.9 MB, free: 13.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4807008961215615]