Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00189/0.00189, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002346/0.002346, allocations: 205.1 kB / 24.47 MB, free: 3.699 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 43.92 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 53.36 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004517/0.2352, allocations: 2.879 MB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2369, allocations: 0.7753 MB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.237, allocations: 4 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.2372, allocations: 59.44 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.2375, allocations: 123 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.2378, allocations: 127.8 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.2383, allocations: 462.2 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.2386, allocations: 103.5 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.2389, allocations: 187.3 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.2392, allocations: 187.2 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.2393, allocations: 44 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.2393, allocations: 44 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.2394, allocations: 87.69 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2396, allocations: 171.2 kB / 437.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.2402, allocations: 0.492 MB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2402, allocations: 4 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2402, allocations: 0 / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2402, allocations: 0 / 438.1 MB, free: 0.9844 MB / 334.1 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.001428/0.2416, allocations: 0.6472 MB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2416, allocations: 8.031 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.2417, allocations: 40.7 kB / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.2422, allocations: 252.9 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.2422, allocations: 25.03 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.2423, allocations: 28.38 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.2431, allocations: 408.4 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2431, allocations: 0 / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.2432, allocations: 12 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2432, allocations: 4 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008756/0.2441, allocations: 306.4 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.2463, allocations: 1.086 MB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.2471, allocations: 242.4 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.2475, allocations: 132.8 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.2476, allocations: 96 / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005675/0.2481, allocations: 255.9 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.2481, allocations: 4 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00221/0.2504, allocations: 0.5642 MB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.2504, allocations: 106.8 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.2508, allocations: 286 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2508, allocations: 33.7 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.251, allocations: 212.3 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.2511, allocations: 63.47 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2512, allocations: 53.7 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2513, allocations: 334.8 kB / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.2517, allocations: 149.9 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.2523, allocations: 286.5 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.253, allocations: 350.8 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.253, allocations: 3.938 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00135/0.2544, allocations: 0.5093 MB / 444.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.2544, allocations: 37.69 kB / 444.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2545, allocations: 4 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.2548, allocations: 60.81 kB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.2551, allocations: 79.94 kB / 444.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.2575, allocations: 1.495 MB / 446.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.2579, allocations: 59.89 kB / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2579, allocations: 8 kB / 446.1 MB, free: 8.422 MB / 350.1 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 0.000205/0.2581, allocations: 161.2 kB / 446.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.2581, allocations: 27.81 kB / 446.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.2582, allocations: 30.11 kB / 446.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2582, allocations: 3.938 kB / 446.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2582, allocations: 0 / 446.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2582, allocations: 4 kB / 446.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.2598, allocations: 0.6868 MB / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2598, allocations: 0 / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.2601, allocations: 43.95 kB / 447.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.2603, allocations: 68.77 kB / 447.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.2603, allocations: 8 kB / 447.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.2625, allocations: 1.495 MB / 448.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2625, allocations: 0 / 448.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.264, allocations: 0.5697 MB / 449.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.2641, allocations: 35.78 kB / 449.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.2641, allocations: 4 kB / 449.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.2644, allocations: 39.89 kB / 449.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.2645, allocations: 19.97 kB / 449.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.2645, allocations: 4 kB / 449.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.2648, allocations: 205.2 kB / 449.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2648, allocations: 3.938 kB / 449.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.2652, allocations: 79.95 kB / 449.6 MB, free: 4.766 MB / 350.1 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 0.0001398/0.2653, allocations: 109.2 kB / 449.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2664, allocations: 463.5 kB / 450.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2664, allocations: 4 kB / 450.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.2669, allocations: 231.1 kB / 450.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.2673, allocations: 62.95 kB / 450.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.2703, allocations: 0.8714 MB / 451.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2704, allocations: 155.5 kB / 451.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2705, allocations: 27.44 kB / 451.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2705, allocations: 3.938 kB / 451.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Templates: time 0.008599/0.2791, allocations: 5.351 MB / 456.9 MB, free: 13.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.572422080003889]