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.001219/0.001219, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002119/0.003338, allocations: 449.7 kB / 10.37 MB, free: 332 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.001141/0.001141, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001663/0.002804, allocations: 459.6 kB / 11.69 MB, free: 2.48 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 1.085/1.085, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09314/1.178, allocations: 52.5 MB / 238.3 MB, free: 4.441 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.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.823e-06/1.823e-06, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.422e-05, allocations: 2.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004984/0.005008, allocations: 3.097 MB / 242.7 MB, free: 36 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.0068, allocations: 0.7829 MB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.007052, allocations: 4 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.007213, allocations: 59.38 kB / 243.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.007497, allocations: 123 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.007827, allocations: 131.7 kB / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.008377, allocations: 469.9 kB / 244.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.008603, allocations: 102 kB / 244.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.009112, allocations: 307.9 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.009356, allocations: 151.6 kB / 244.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.00943, allocations: 47.94 kB / 244.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.009494, allocations: 44 kB / 244.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.009563, allocations: 67.81 kB / 244.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.009707, allocations: 111.8 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.01014, allocations: 259.1 kB / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-05/0.01016, allocations: 0 / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01016, allocations: 0 / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.01019, allocations: 0 / 245.3 MB, free: 13.41 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.001218/0.01141, allocations: 0.665 MB / 246 MB, free: 12.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.01145, allocations: 11.98 kB / 246 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.01155, allocations: 44.91 kB / 246 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.0119, allocations: 200.7 kB / 246.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.01193, allocations: 21.03 kB / 246.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.01198, allocations: 28.38 kB / 246.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.01244, allocations: 313.7 kB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01246, allocations: 192 / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.01248, allocations: 15.94 kB / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.599e-06/0.01249, allocations: 4 kB / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.01267, allocations: 76.5 kB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.01425, allocations: 0.8929 MB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.01445, allocations: 86.53 kB / 247.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.01451, allocations: 28.84 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.01455, allocations: 11.98 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.01477, allocations: 165.2 kB / 247.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.01478, allocations: 0 / 247.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008894/0.01567, allocations: 281.8 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.01571, allocations: 59.34 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01589, allocations: 260.9 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01591, allocations: 29.7 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.016, allocations: 196.7 kB / 248.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.01603, allocations: 51.58 kB / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.01609, allocations: 57.66 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.01618, allocations: 334.8 kB / 249.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.01623, allocations: 57.69 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.01633, allocations: 193 kB / 249.3 MB, free: 9.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.01648, allocations: 175.8 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01648, allocations: 0 / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003176/0.0168, allocations: 284.3 kB / 249.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.01684, allocations: 33.7 kB / 249.8 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01685, allocations: 4 kB / 249.8 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.01707, allocations: 73.16 kB / 249.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.01722, allocations: 63.89 kB / 249.9 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009955/0.01822, allocations: 1.469 MB / 251.4 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.01835, allocations: 39.83 kB / 251.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01836, allocations: 11.98 kB / 251.5 MB, free: 6.758 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 (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 8.627e-05/0.01845, allocations: 137.7 kB / 251.6 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.01847, allocations: 19.98 kB / 251.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.0185, allocations: 29.77 kB / 251.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.0185, allocations: 0 / 251.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.0185, allocations: 0 / 251.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.0185, allocations: 0 / 251.7 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.01863, allocations: 153.8 kB / 251.8 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01863, allocations: 0 / 251.8 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01874, allocations: 39.91 kB / 251.8 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.01876, allocations: 23.75 kB / 251.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001527/0.01891, allocations: 76.92 kB / 251.9 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.01892, allocations: 4 kB / 251.9 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008036/0.01972, allocations: 1.276 MB / 253.2 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01972, allocations: 0 / 253.2 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.01996, allocations: 197.7 kB / 253.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.01998, allocations: 16.11 kB / 253.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.02006, allocations: 23.98 kB / 253.5 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.02011, allocations: 27.83 kB / 253.5 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.02012, allocations: 7.984 kB / 253.5 MB, free: 4.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.02018, allocations: 82.78 kB / 253.6 MB, free: 4.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02018, allocations: 0 / 253.6 MB, free: 4.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000232/0.02042, allocations: 87.84 kB / 253.7 MB, free: 4.434 MB / 250.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.0001266/0.02054, allocations: 88.44 kB / 253.7 MB, free: 4.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.02086, allocations: 316.2 kB / 254 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.02088, allocations: 8 kB / 254.1 MB, free: 3.988 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.021, allocations: 178.5 kB / 254.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.02119, allocations: 75.41 kB / 254.3 MB, free: 3.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.023, allocations: 0.5125 MB / 254.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.763e-05/0.02305, allocations: 84.31 kB / 254.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.02313, allocations: 26.28 kB / 254.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.02326, allocations: 99.34 kB / 255 MB, free: 2.961 MB / 250.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02326, allocations: 0 / 255 MB, free: 2.961 MB / 250.7 MB Notification: Performance of Templates: time 0.006875/0.03013, allocations: 4.869 MB / 259.9 MB, free: 14.16 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7296696342527866]