Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009974/0.0009974, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8877/0.8877, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.806e-06/1.011e-05, allocations: 2.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002541/0.002551, allocations: 2.887 MB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003647, allocations: 0.7831 MB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.003761, allocations: 7.938 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.00389, allocations: 51.5 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.004049, allocations: 127 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.00428, allocations: 123.7 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.004594, allocations: 474 kB / 329.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.004754, allocations: 99.38 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.005031, allocations: 259.5 kB / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.005163, allocations: 147.5 kB / 329.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.005204, allocations: 44 kB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.005241, allocations: 51.94 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.005296, allocations: 83.67 kB / 329.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.00539, allocations: 139.7 kB / 329.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.005708, allocations: 0.4946 MB / 330.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00571, allocations: 0 / 330.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005711, allocations: 3.938 kB / 330.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005716, allocations: 0 / 330.4 MB, free: 10.12 MB / 298.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.0008231/0.006539, allocations: 0.6384 MB / 331 MB, free: 9.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.006573, allocations: 16.02 kB / 331 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.00662, allocations: 62.73 kB / 331.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.006671, allocations: 40.7 kB / 331.1 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.006945, allocations: 256.6 kB / 331.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.006961, allocations: 21.03 kB / 331.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.006997, allocations: 28.38 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.007456, allocations: 401 kB / 331.8 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.007466, allocations: 3.938 kB / 331.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.007488, allocations: 12 kB / 331.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007495, allocations: 12 kB / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.007947, allocations: 302.4 kB / 332.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.009186, allocations: 1.144 MB / 333.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.009551, allocations: 210.4 kB / 333.5 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.009731, allocations: 108.8 kB / 333.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.009751, allocations: 11.92 kB / 333.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.01005, allocations: 241.2 kB / 333.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.01005, allocations: 0 / 333.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001213/0.01127, allocations: 0.6174 MB / 334.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.01131, allocations: 110.8 kB / 334.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.01177, allocations: 300.1 kB / 334.8 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.01179, allocations: 29.7 kB / 334.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01189, allocations: 219.9 kB / 335.1 MB, free: 5.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.01192, allocations: 47.59 kB / 335.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.01198, allocations: 53.66 kB / 335.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.01207, allocations: 342.8 kB / 335.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.01227, allocations: 133.6 kB / 335.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.01252, allocations: 297.2 kB / 335.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.01292, allocations: 319.8 kB / 336.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01292, allocations: 0 / 336.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007023/0.01363, allocations: 0.5092 MB / 336.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.01365, allocations: 33.77 kB / 336.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01366, allocations: 4 kB / 336.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.0139, allocations: 84.73 kB / 336.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01405, allocations: 55.91 kB / 336.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.01558, allocations: 1.883 MB / 338.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.01575, allocations: 63.8 kB / 338.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01576, allocations: 8 kB / 338.9 MB, free: 1.031 MB / 298.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.0001136/0.01587, allocations: 153.8 kB / 339 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.0159, allocations: 23.86 kB / 339.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.01593, allocations: 29.8 kB / 339.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01593, allocations: 0 / 339.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01593, allocations: 0 / 339.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01594, allocations: 11.95 kB / 339.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.01612, allocations: 284.5 kB / 339.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01612, allocations: 4 kB / 339.4 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.01622, allocations: 31.91 kB / 339.4 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.01638, allocations: 76.81 kB / 339.5 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01639, allocations: 7.984 kB / 339.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.01765, allocations: 1.69 MB / 341.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01765, allocations: 0 / 341.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.01842, allocations: 0.4963 MB / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.01845, allocations: 27.78 kB / 341.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01847, allocations: 4 kB / 341.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01859, allocations: 35.95 kB / 341.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.01897, allocations: 27.97 kB / 341.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01898, allocations: 0 / 341.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.01913, allocations: 215 kB / 342 MB, free: 13.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01913, allocations: 3.938 kB / 342 MB, free: 13.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.01938, allocations: 87.84 kB / 342.1 MB, free: 13.65 MB / 314.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.001066/0.02045, allocations: 1.035 MB / 343.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006384/0.02109, allocations: 466.5 kB / 343.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02109, allocations: 0 / 343.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.02133, allocations: 237.8 kB / 343.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.02155, allocations: 63.38 kB / 343.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.02492, allocations: 3.412 MB / 347.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.864e-05/0.02501, allocations: 159.8 kB / 347.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.02508, allocations: 30.95 kB / 347.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.02519, allocations: 96.47 kB / 347.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02519, allocations: 0 / 347.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.04627, allocations: 8.231 MB / 355.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/7.964, allocations: 6.234 kB / 355.8 MB, free: 15.84 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable derivative.opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,derivative.c.v,derivative.opAmp.out.v,derivative.opAmp.out.i Variables in the result:time,derivative.c.v [Calling sys.exit(0), Time elapsed: 9.704843544401228]