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.001071/0.001071, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001141/0.001141, allocations: 149.7 kB / 24.81 MB, free: 8.938 MB / 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.085/1.085, allocations: 173.3 MB / 201.4 MB, free: 9.207 MB / 186.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.633e-06/1.633e-06, allocations: 0 / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.839e-05, allocations: 6.25 kB / 268.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003415/0.003444, allocations: 3.044 MB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.004912, allocations: 0.7558 MB / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.005127, allocations: 8 kB / 272.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.005296, allocations: 47.5 kB / 272.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.005551, allocations: 126.9 kB / 272.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.005872, allocations: 127.7 kB / 272.5 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.006312, allocations: 470 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.006494, allocations: 103.5 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.006865, allocations: 259.4 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.007034, allocations: 151.5 kB / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.007081, allocations: 44 kB / 273.5 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.007126, allocations: 44 kB / 273.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.007183, allocations: 87.67 kB / 273.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.007291, allocations: 143.7 kB / 273.8 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.007587, allocations: 279 kB / 274.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.007589, allocations: 3.938 kB / 274.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00759, allocations: 0 / 274.1 MB, free: 480 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.8e-06/0.007595, allocations: 0 / 274.1 MB, free: 480 kB / 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.0008116/0.008406, allocations: 0.7159 MB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.00844, allocations: 8.031 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.008593, allocations: 68.62 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.008882, allocations: 247.5 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.008901, allocations: 21.03 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.008939, allocations: 32.36 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.0093, allocations: 315.3 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.00931, allocations: 192 / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.009379, allocations: 11.94 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.009385, allocations: 8 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.009503, allocations: 84.52 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01073, allocations: 1.142 MB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.01088, allocations: 107 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.01093, allocations: 39.66 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.01095, allocations: 4 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.01111, allocations: 182.6 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.01111, allocations: 0 / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.000708/0.01181, allocations: 312.8 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.01186, allocations: 102.8 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.01204, allocations: 316 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01206, allocations: 33.69 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01217, allocations: 263 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.01221, allocations: 59.52 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.01229, allocations: 59.33 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01243, allocations: 0.504 MB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.01249, allocations: 53.69 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.01266, allocations: 252.6 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.01282, allocations: 209.8 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01282, allocations: 0 / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003918/0.01322, allocations: 331.5 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.01335, allocations: 36.5 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.01336, allocations: 4 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.01363, allocations: 75.69 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01376, allocations: 55.91 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.01502, allocations: 2.11 MB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.01516, allocations: 43.84 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01518, allocations: 11.98 kB / 281.8 MB, free: 8.121 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.0001081/0.01529, allocations: 176.5 kB / 282 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01532, allocations: 35.81 kB / 282 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.01535, allocations: 25.77 kB / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01535, allocations: 4 kB / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.01535, allocations: 0 / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01536, allocations: 4 kB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.01551, allocations: 189 kB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01551, allocations: 3.938 kB / 282.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.01559, allocations: 23.92 kB / 282.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.01579, allocations: 83.75 kB / 282.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.0158, allocations: 0 / 282.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009739/0.01677, allocations: 1.858 MB / 284.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.01677, allocations: 4.031 kB / 284.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.01706, allocations: 247.1 kB / 284.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.01709, allocations: 27.78 kB / 284.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01712, allocations: 11.94 kB / 284.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.01721, allocations: 15.98 kB / 284.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.01726, allocations: 20.16 kB / 284.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.01727, allocations: 16.02 kB / 284.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.01736, allocations: 201.1 kB / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01736, allocations: 7.938 kB / 284.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01763, allocations: 87.83 kB / 284.9 MB, free: 4.918 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.0003667/0.018, allocations: 103.2 kB / 285 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.01833, allocations: 382.9 kB / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01834, allocations: 4.062 kB / 285.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.01848, allocations: 229.4 kB / 285.6 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.0187, allocations: 48.45 kB / 285.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.0195, allocations: 0.5141 MB / 286.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.01955, allocations: 84.31 kB / 286.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.01962, allocations: 30.28 kB / 286.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.01976, allocations: 130.2 kB / 286.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01976, allocations: 0 / 286.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of Templates: time 0.1084/0.1282, allocations: 4.726 MB / 291.1 MB, free: 29.83 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 -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.7794815469533205]