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.00123/0.00123, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001354/0.001354, allocations: 208 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.381/1.381, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001579/0.001579, allocations: 51.92 kB / 377.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 53.36 MB / 431.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004546/0.2441, allocations: 3.134 MB / 434.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2455, allocations: 0.7988 MB / 435.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2456, allocations: 7.938 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.2458, allocations: 51.5 kB / 435.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.246, allocations: 123 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.2463, allocations: 131.8 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.2468, allocations: 454.2 kB / 435.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.247, allocations: 105.1 kB / 436 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.2473, allocations: 183.3 kB / 436.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.2476, allocations: 187.2 kB / 436.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.2476, allocations: 44 kB / 436.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.2477, allocations: 48 kB / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.2478, allocations: 87.69 kB / 436.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.248, allocations: 195.1 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.2485, allocations: 0.4903 MB / 437.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2485, allocations: 7.938 kB / 437.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2485, allocations: 0 / 437.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.2485, allocations: 0 / 437.2 MB, free: 0.7852 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.001338/0.2498, allocations: 0.6355 MB / 437.8 MB, free: 112 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2499, allocations: 8.031 kB / 437.8 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.25, allocations: 66.72 kB / 437.9 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.2501, allocations: 36.75 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.2505, allocations: 260.9 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2505, allocations: 17.03 kB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.2506, allocations: 32.12 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.2514, allocations: 353 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2514, allocations: 0 / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.2514, allocations: 11.98 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.2514, allocations: 11.98 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.2522, allocations: 298.4 kB / 438.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.2544, allocations: 1.241 MB / 440.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.2551, allocations: 222.4 kB / 440.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.2554, allocations: 105 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.2554, allocations: 0 / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/0.2559, allocations: 201.8 kB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2559, allocations: 0 / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002217/0.2581, allocations: 0.6055 MB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.2582, allocations: 106.8 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2586, allocations: 300.1 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2586, allocations: 29.7 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.2588, allocations: 227.9 kB / 441.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.2588, allocations: 43.64 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.2589, allocations: 53.66 kB / 442 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.259, allocations: 346.7 kB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.2594, allocations: 111.9 kB / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.2598, allocations: 204.7 kB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.2605, allocations: 334.5 kB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2605, allocations: 0 / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001231/0.2618, allocations: 487.7 kB / 443.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.2618, allocations: 37.69 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2618, allocations: 4 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.2622, allocations: 88.8 kB / 443.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.2625, allocations: 55.97 kB / 443.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.2652, allocations: 1.894 MB / 445.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.2656, allocations: 63.8 kB / 445.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.2656, allocations: 12 kB / 445.6 MB, free: 7.879 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.0001847/0.2658, allocations: 153.7 kB / 445.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.2658, allocations: 27.81 kB / 445.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.2659, allocations: 33.73 kB / 445.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2659, allocations: 0 / 445.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2659, allocations: 0 / 445.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2659, allocations: 3.984 kB / 445.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.2662, allocations: 312.5 kB / 446.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2662, allocations: 4 kB / 446.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.2664, allocations: 28.09 kB / 446.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.2667, allocations: 84.8 kB / 446.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.2667, allocations: 11.94 kB / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.269, allocations: 1.701 MB / 447.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.269, allocations: 32 / 447.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2703, allocations: 0.4963 MB / 448.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.2704, allocations: 31.77 kB / 448.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.2704, allocations: 7.938 kB / 448.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2707, allocations: 31.97 kB / 448.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.2707, allocations: 28.02 kB / 448.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2708, allocations: 192 / 448.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.271, allocations: 211.1 kB / 448.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.271, allocations: 3.938 kB / 448.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.2714, allocations: 83.89 kB / 448.8 MB, free: 4.453 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.001684/0.273, allocations: 1.031 MB / 449.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009864/0.274, allocations: 438.3 kB / 450.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.274, allocations: 4.188 kB / 450.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.2745, allocations: 234.5 kB / 450.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2748, allocations: 69.45 kB / 450.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.2803, allocations: 3.313 MB / 453.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2807, allocations: 0.7678 MB / 454.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.2808, allocations: 26.97 kB / 454.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2809, allocations: 91.41 kB / 454.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2809, allocations: 0 / 454.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.3179, allocations: 7.625 MB / 462.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.76, allocations: 11.25 kB / 462.4 MB, free: 6.801 MB / 366.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.132758341998851]