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.001665/0.001665, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001919/0.001919, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 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.459/1.459, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 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 0.00163/0.00163, allocations: 51.91 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2765, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004379/0.2809, allocations: 2.865 MB / 426.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2825, allocations: 0.7481 MB / 427.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.2827, allocations: 7.938 kB / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2828, allocations: 51.5 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.2831, allocations: 119 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.2835, allocations: 131.8 kB / 427.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.284, allocations: 450.3 kB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2843, allocations: 98.45 kB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.2845, allocations: 179.3 kB / 428.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.2848, allocations: 167.2 kB / 428.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.2848, allocations: 44 kB / 428.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.2849, allocations: 44 kB / 428.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.285, allocations: 91.62 kB / 428.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.2852, allocations: 155.3 kB / 429 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.2857, allocations: 0.4939 MB / 429.5 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2857, allocations: 0 / 429.5 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2857, allocations: 0 / 429.5 MB, free: 8.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.2857, allocations: 0 / 429.5 MB, free: 8.836 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.001439/0.2872, allocations: 0.6394 MB / 430.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2872, allocations: 12.03 kB / 430.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.2873, allocations: 44.69 kB / 430.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.2878, allocations: 252.9 kB / 430.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2878, allocations: 21.03 kB / 430.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.2879, allocations: 28.38 kB / 430.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.2887, allocations: 408.4 kB / 430.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2887, allocations: 4 kB / 430.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.2887, allocations: 8 kB / 430.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2887, allocations: 8 kB / 430.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.2896, allocations: 306.4 kB / 431.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.2918, allocations: 1.089 MB / 432.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.2925, allocations: 214.4 kB / 432.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.2929, allocations: 112.8 kB / 432.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.2929, allocations: 4 kB / 432.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000532/0.2934, allocations: 241.2 kB / 432.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.2934, allocations: 0 / 432.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002468/0.2959, allocations: 0.6071 MB / 433.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.296, allocations: 114.8 kB / 433.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.2963, allocations: 285.8 kB / 433.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2964, allocations: 29.7 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.2965, allocations: 216.3 kB / 434.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.2966, allocations: 51.59 kB / 434.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2967, allocations: 53.7 kB / 434.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2969, allocations: 334.8 kB / 434.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.2973, allocations: 145.6 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.2978, allocations: 293 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.2986, allocations: 330.3 kB / 435.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2986, allocations: 4 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001402/0.3, allocations: 0.5092 MB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.3, allocations: 33.7 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3, allocations: 3.938 kB / 435.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.3004, allocations: 84.8 kB / 435.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3007, allocations: 55.97 kB / 435.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.3037, allocations: 1.861 MB / 437.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.3041, allocations: 63.95 kB / 437.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.3041, allocations: 11.94 kB / 437.9 MB, free: 15.92 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 (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.0002419/0.3044, allocations: 149.8 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3044, allocations: 23.86 kB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.3045, allocations: 25.77 kB / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3045, allocations: 7.938 kB / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3045, allocations: 0 / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3045, allocations: 7.938 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.3048, allocations: 241.1 kB / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3048, allocations: 0 / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.305, allocations: 31.91 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.3053, allocations: 80.8 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.3054, allocations: 8 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.3078, allocations: 1.671 MB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3078, allocations: 0 / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3093, allocations: 0.4931 MB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3094, allocations: 27.81 kB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3094, allocations: 4 kB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3096, allocations: 36.03 kB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.3097, allocations: 23.95 kB / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3097, allocations: 4 kB / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.31, allocations: 201.2 kB / 440.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.31, allocations: 4 kB / 440.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.3104, allocations: 87.78 kB / 441 MB, free: 12.65 MB / 350.1 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.0001558/0.3106, allocations: 103.2 kB / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3117, allocations: 476 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3117, allocations: 0 / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.3122, allocations: 242.6 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3126, allocations: 48.64 kB / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3139, allocations: 0.6053 MB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.314, allocations: 159.5 kB / 442.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.24e-05/0.3141, allocations: 19.44 kB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3141, allocations: 0 / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Templates: time 0.008854/0.323, allocations: 5.262 MB / 447.9 MB, free: 5.672 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/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: 7.435992398764938]