Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.002044/0.002044, allocations: 96.62 kB / 20.96 MB, free: 3.59 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.001553/0.001553, allocations: 145.5 kB / 24.25 MB, free: 312 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.567/1.567, allocations: 173.4 MB / 200.8 MB, free: 9.293 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.264e-05, allocations: 2.312 kB / 267.4 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005066/0.005099, allocations: 2.865 MB / 270.2 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.006682, allocations: 0.748 MB / 271 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.00684, allocations: 11.94 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.007024, allocations: 51.5 kB / 271 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.007275, allocations: 123 kB / 271.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.00762, allocations: 131.7 kB / 271.3 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000589/0.008209, allocations: 470 kB / 271.8 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.008448, allocations: 103.4 kB / 271.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.008843, allocations: 251.5 kB / 272.1 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.009089, allocations: 147.5 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.009164, allocations: 44 kB / 272.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.873e-05/0.009243, allocations: 44 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.009351, allocations: 87.67 kB / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.009531, allocations: 131.7 kB / 272.5 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.01017, allocations: 0.5062 MB / 273 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01017, allocations: 4 kB / 273.1 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01017, allocations: 0 / 273.1 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.01018, allocations: 0 / 273.1 MB, free: 0.9492 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.001484/0.01166, allocations: 0.6394 MB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.0117, allocations: 8.031 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.01183, allocations: 60.7 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.01237, allocations: 256.6 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.0124, allocations: 21.03 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.01248, allocations: 36.36 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.0134, allocations: 401 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.01341, allocations: 192 / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.01345, allocations: 15.94 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.01346, allocations: 4 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/0.01441, allocations: 306.4 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.01689, allocations: 1.11 MB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.01764, allocations: 222.4 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.01801, allocations: 112.7 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.01804, allocations: 4 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005575/0.0186, allocations: 241.1 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.0186, allocations: 4 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002839/0.02144, allocations: 0.6067 MB / 277.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.02153, allocations: 114.7 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.0219, allocations: 285.8 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.02194, allocations: 29.7 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.02215, allocations: 224.2 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.02221, allocations: 51.59 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02232, allocations: 45.7 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.02252, allocations: 342.8 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.02294, allocations: 133.6 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.02349, allocations: 293 kB / 278.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.02432, allocations: 327.7 kB / 278.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02433, allocations: 0 / 278.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001486/0.02581, allocations: 0.5202 MB / 279.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.02586, allocations: 37.69 kB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.02587, allocations: 4 kB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007112/0.02658, allocations: 140.8 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.02686, allocations: 55.89 kB / 279.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.03002, allocations: 1.867 MB / 281.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.0304, allocations: 55.75 kB / 281.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.03043, allocations: 8 kB / 281.5 MB, free: 7.934 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.03065, allocations: 157.7 kB / 281.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.03071, allocations: 31.86 kB / 281.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.03077, allocations: 33.83 kB / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.03078, allocations: 0 / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.03078, allocations: 0 / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.03078, allocations: 0 / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.03111, allocations: 237 kB / 282 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.03111, allocations: 0 / 282 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.03131, allocations: 27.97 kB / 282 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006185/0.03193, allocations: 144.7 kB / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.03195, allocations: 0 / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.03509, allocations: 1.678 MB / 283.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.03509, allocations: 3.938 kB / 283.9 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.03672, allocations: 0.4936 MB / 284.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.03678, allocations: 27.88 kB / 284.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.03682, allocations: 0 / 284.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.0371, allocations: 40.02 kB / 284.4 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.03719, allocations: 31.78 kB / 284.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.03721, allocations: 4 kB / 284.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002492/0.03746, allocations: 201.2 kB / 284.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03746, allocations: 0 / 284.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.0379, allocations: 87.84 kB / 284.7 MB, free: 4.582 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.03808, allocations: 107.2 kB / 284.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.03932, allocations: 466.8 kB / 285.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.03933, allocations: 4 kB / 285.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.0399, allocations: 242.4 kB / 285.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.04026, allocations: 60.72 kB / 285.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.04162, allocations: 0.5477 MB / 286.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.0418, allocations: 159.4 kB / 286.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.04193, allocations: 34.25 kB / 286.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.04201, allocations: 24.5 kB / 286.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04201, allocations: 0 / 286.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of Templates: time 0.1062/0.1482, allocations: 4.377 MB / 290.7 MB, free: 31.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.678036342957057]