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.001038/0.001038, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002532, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009109/0.0009109, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002241, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 0.9186/0.9186, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2099/1.129, allocations: 52.48 MB / 238.5 MB, free: 7.629 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 9.72e-07/9.72e-07, allocations: 0 / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.174e-05, allocations: 5.688 kB / 239.8 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.006652/0.006674, allocations: 3.095 MB / 242.9 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.008325, allocations: 0.7801 MB / 243.7 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.008524, allocations: 7.938 kB / 243.7 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.008672, allocations: 55.5 kB / 243.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.008912, allocations: 124.2 kB / 243.8 MB, free: 2.262 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.009221, allocations: 132.8 kB / 244 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.009764, allocations: 469.9 kB / 244.4 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.009961, allocations: 97.11 kB / 244.5 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.01047, allocations: 311.9 kB / 244.8 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.0107, allocations: 143.6 kB / 245 MB, free: 1.133 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.01077, allocations: 44 kB / 245 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.01083, allocations: 44 kB / 245.1 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.0109, allocations: 67.81 kB / 245.1 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.01103, allocations: 115.8 kB / 245.2 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.0114, allocations: 252 kB / 245.5 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-05/0.01142, allocations: 3.984 kB / 245.5 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01142, allocations: 0.9688 kB / 245.5 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.01143, allocations: 0 / 245.5 MB, free: 0.6133 MB / 234.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.0009381/0.01237, allocations: 0.6598 MB / 246.1 MB, free: 15.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.01241, allocations: 11.98 kB / 246.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.01248, allocations: 49.5 kB / 246.2 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.01273, allocations: 201.4 kB / 246.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01275, allocations: 23 kB / 246.4 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.01278, allocations: 28.38 kB / 246.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.01311, allocations: 313.6 kB / 246.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01312, allocations: 1.656 kB / 246.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.01314, allocations: 15.92 kB / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.01315, allocations: 12 kB / 246.8 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.01326, allocations: 80.55 kB / 246.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.01426, allocations: 0.8895 MB / 247.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.0144, allocations: 87.53 kB / 247.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.01444, allocations: 29.84 kB / 247.9 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.01446, allocations: 8 kB / 247.9 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.01463, allocations: 173.6 kB / 248 MB, free: 13.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.01463, allocations: 0 / 248 MB, free: 13.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005802/0.01521, allocations: 276.5 kB / 248.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.01524, allocations: 55.41 kB / 248.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.01539, allocations: 256.9 kB / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.01541, allocations: 33.7 kB / 248.7 MB, free: 13.24 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.0155, allocations: 204.7 kB / 248.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.01553, allocations: 47.62 kB / 248.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.0156, allocations: 57.64 kB / 249 MB, free: 12.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.01569, allocations: 334.8 kB / 249.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.01575, allocations: 53.69 kB / 249.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01586, allocations: 197.6 kB / 249.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01601, allocations: 190.7 kB / 249.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01601, allocations: 0 / 249.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003086/0.01632, allocations: 273.5 kB / 250 MB, free: 11.76 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.01635, allocations: 37.69 kB / 250 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01636, allocations: 4 kB / 250 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.0166, allocations: 77.05 kB / 250.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01676, allocations: 55.91 kB / 250.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000924/0.01768, allocations: 1.465 MB / 251.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.01781, allocations: 39.83 kB / 251.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01783, allocations: 12 kB / 251.7 MB, free: 9.977 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 9.384e-05/0.01792, allocations: 141.7 kB / 251.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.01795, allocations: 19.98 kB / 251.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.01798, allocations: 25.77 kB / 251.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01798, allocations: 4 kB / 251.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.01798, allocations: 0 / 251.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01799, allocations: 0 / 251.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.01813, allocations: 149.8 kB / 252 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01813, allocations: 0 / 252 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.01824, allocations: 39.84 kB / 252 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.01827, allocations: 23.75 kB / 252.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.01844, allocations: 76.8 kB / 252.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.01845, allocations: 3.984 kB / 252.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007652/0.01922, allocations: 1.288 MB / 253.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01922, allocations: 0 / 253.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.01947, allocations: 197.8 kB / 253.6 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01949, allocations: 7.938 kB / 253.6 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.01957, allocations: 23.97 kB / 253.7 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.01962, allocations: 15.97 kB / 253.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.01963, allocations: 8 kB / 253.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.0197, allocations: 86.77 kB / 253.8 MB, free: 7.746 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0197, allocations: 0 / 253.8 MB, free: 7.746 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.01993, allocations: 87.78 kB / 253.8 MB, free: 7.66 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.0001203/0.02005, allocations: 92.39 kB / 253.9 MB, free: 7.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.02036, allocations: 323.5 kB / 254.3 MB, free: 7.215 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.02038, allocations: 7.938 kB / 254.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.02052, allocations: 187.3 kB / 254.4 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.02086, allocations: 0.5475 MB / 255 MB, free: 6.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.0226, allocations: 0.5008 MB / 255.5 MB, free: 5.828 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.02266, allocations: 88.62 kB / 255.6 MB, free: 5.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.43e-05/0.02274, allocations: 26.97 kB / 255.6 MB, free: 5.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.02288, allocations: 103.3 kB / 255.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02288, allocations: 0 / 255.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of Templates: time 0.007017/0.0299, allocations: 4.947 MB / 260.7 MB, free: 0.7266 MB / 250.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.576205519028008]