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.002722/0.002722, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.003047/0.003047, allocations: 153.5 kB / 24.27 MB, free: 168 kB / 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.559/1.559, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.573e-06/1.573e-06, allocations: 0 / 267.4 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.496e-05, allocations: 6.312 kB / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004986/0.005031, allocations: 3.044 MB / 270.4 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.006552, allocations: 0.7519 MB / 271.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.006716, allocations: 4 kB / 271.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.006912, allocations: 59.38 kB / 271.2 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.007166, allocations: 123 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.007497, allocations: 127.8 kB / 271.5 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.008085, allocations: 477.9 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.008312, allocations: 99.38 kB / 272 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.008715, allocations: 263.4 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.008987, allocations: 151.6 kB / 272.4 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.009074, allocations: 48 kB / 272.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.009149, allocations: 44 kB / 272.5 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.009249, allocations: 87.67 kB / 272.6 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.009436, allocations: 143.6 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.01008, allocations: 0.5101 MB / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01008, allocations: 0 / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01009, allocations: 0 / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.01009, allocations: 0 / 273.3 MB, free: 0.7695 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.001446/0.01154, allocations: 0.7429 MB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.01157, allocations: 8.031 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.01171, allocations: 60.7 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.01218, allocations: 267.5 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.01221, allocations: 21.03 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.01227, allocations: 36.31 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.01303, allocations: 398.7 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01305, allocations: 4.188 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.01308, allocations: 11.94 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.01309, allocations: 8 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.01379, allocations: 262.4 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.01614, allocations: 1.261 MB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.01681, allocations: 230.9 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.01716, allocations: 119.6 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.0172, allocations: 4 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.0177, allocations: 243.4 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.0177, allocations: 4 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001648/0.01935, allocations: 439.5 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.01945, allocations: 114.8 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.01991, allocations: 388.5 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.01995, allocations: 25.7 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.02018, allocations: 279 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.02025, allocations: 63.59 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02038, allocations: 67.31 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003364/0.02072, allocations: 0.5235 MB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.02105, allocations: 121.9 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.02154, allocations: 334 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.02222, allocations: 340.7 kB / 279.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.02222, allocations: 8 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001116/0.02334, allocations: 460.3 kB / 280 MB, free: 9.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.02339, allocations: 41.69 kB / 280 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.0234, allocations: 4 kB / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.02382, allocations: 75.7 kB / 280.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.0241, allocations: 63.84 kB / 280.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.02653, allocations: 1.943 MB / 282.1 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.02684, allocations: 47.77 kB / 282.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.02687, allocations: 8 kB / 282.2 MB, free: 7.238 MB / 266.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 0.000226/0.02709, allocations: 207.8 kB / 282.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.02715, allocations: 27.81 kB / 282.4 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.02722, allocations: 42.09 kB / 282.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.02722, allocations: 4 kB / 282.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02723, allocations: 4 kB / 282.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.02723, allocations: 3.984 kB / 282.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.02872, allocations: 0.723 MB / 283.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02873, allocations: 4.031 kB / 283.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.02893, allocations: 35.92 kB / 283.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.02924, allocations: 75.58 kB / 283.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02927, allocations: 11.98 kB / 283.3 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.03146, allocations: 1.923 MB / 285.2 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03146, allocations: 0 / 285.2 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.03269, allocations: 0.5444 MB / 285.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.03276, allocations: 35.73 kB / 285.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.0328, allocations: 4 kB / 285.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.03304, allocations: 28.02 kB / 285.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.03314, allocations: 27.89 kB / 285.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.03315, allocations: 4 kB / 285.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002944/0.03345, allocations: 257.1 kB / 286.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03345, allocations: 0 / 286.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.03385, allocations: 79.89 kB / 286.2 MB, free: 2.996 MB / 266.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 0.0001608/0.03401, allocations: 107.2 kB / 286.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.03503, allocations: 0.5161 MB / 286.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.03503, allocations: 4 kB / 286.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.03549, allocations: 277.4 kB / 287.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.03591, allocations: 53.22 kB / 287.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.03805, allocations: 0.6855 MB / 287.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.03823, allocations: 155.5 kB / 288 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.03838, allocations: 34.95 kB / 288 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.03847, allocations: 28.5 kB / 288.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03847, allocations: 0 / 288.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of Templates: time 0.01007/0.04854, allocations: 4.329 MB / 292.4 MB, free: 12.76 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.626737804035656]