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.001824/0.001824, allocations: 112.4 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002141/0.002141, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 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.491/1.491, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 43.92 kB / 370.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2434, allocations: 52.17 MB / 422.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004503/0.2479, allocations: 3.116 MB / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2492, allocations: 0.7754 MB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2494, allocations: 11.94 kB / 426.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.2495, allocations: 47.5 kB / 426.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.2498, allocations: 123 kB / 426.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.2501, allocations: 123.8 kB / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.2506, allocations: 458.2 kB / 427.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.2508, allocations: 95.5 kB / 427.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.251, allocations: 183.3 kB / 427.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2513, allocations: 183.2 kB / 427.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.2514, allocations: 44 kB / 427.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.2514, allocations: 48 kB / 427.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.2515, allocations: 91.67 kB / 427.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2517, allocations: 199.1 kB / 428.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.2522, allocations: 0.4907 MB / 428.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2522, allocations: 0 / 428.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2522, allocations: 0 / 428.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.2522, allocations: 0 / 428.6 MB, free: 8.594 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.001361/0.2536, allocations: 0.6394 MB / 429.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2536, allocations: 8.031 kB / 429.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.072e-05/0.2537, allocations: 58.73 kB / 429.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.2538, allocations: 40.7 kB / 429.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.2542, allocations: 264.9 kB / 429.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2542, allocations: 21.03 kB / 429.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.2543, allocations: 32.12 kB / 429.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.2551, allocations: 345 kB / 430 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2551, allocations: 7.938 kB / 430 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.2551, allocations: 12 kB / 430 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2551, allocations: 8 kB / 430 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.256, allocations: 302.4 kB / 430.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.2582, allocations: 1.233 MB / 431.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.2589, allocations: 225.2 kB / 431.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.2592, allocations: 108.8 kB / 431.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2592, allocations: 3.938 kB / 431.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.2597, allocations: 193.8 kB / 432.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2597, allocations: 0 / 432.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002394/0.2621, allocations: 0.6033 MB / 432.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.2622, allocations: 110.8 kB / 432.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.2626, allocations: 296.2 kB / 433.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.2626, allocations: 33.7 kB / 433.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2628, allocations: 208 kB / 433.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.2628, allocations: 55.58 kB / 433.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2629, allocations: 53.66 kB / 433.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2631, allocations: 338.8 kB / 433.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.2635, allocations: 119.8 kB / 433.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.2639, allocations: 207.9 kB / 434.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/0.2646, allocations: 330.8 kB / 434.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2647, allocations: 4 kB / 434.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001318/0.266, allocations: 483.8 kB / 434.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.266, allocations: 41.69 kB / 434.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.266, allocations: 4 kB / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.2664, allocations: 80.88 kB / 435 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2667, allocations: 55.89 kB / 435 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.2695, allocations: 1.902 MB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.2699, allocations: 59.73 kB / 437 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.27, allocations: 15.94 kB / 437 MB, free: 15.69 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.0002038/0.2702, allocations: 153.6 kB / 437.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.2702, allocations: 23.86 kB / 437.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.2703, allocations: 33.8 kB / 437.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2703, allocations: 4 kB / 437.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2703, allocations: 0 / 437.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2703, allocations: 0 / 437.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.2706, allocations: 320.5 kB / 437.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2706, allocations: 4 kB / 437.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2708, allocations: 27.97 kB / 437.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.2711, allocations: 84.8 kB / 437.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2711, allocations: 3.938 kB / 437.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.2735, allocations: 1.702 MB / 439.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2735, allocations: 0 / 439.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.275, allocations: 0.4936 MB / 439.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.275, allocations: 31.8 kB / 439.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.2751, allocations: 8.125 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.2753, allocations: 44.02 kB / 439.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.2754, allocations: 19.97 kB / 440 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.2754, allocations: 0 / 440 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.2757, allocations: 219 kB / 440.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2757, allocations: 0 / 440.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.2761, allocations: 83.84 kB / 440.3 MB, free: 12.27 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.001841/0.2779, allocations: 1.038 MB / 441.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.279, allocations: 438.2 kB / 441.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.279, allocations: 0 / 441.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.2795, allocations: 254.2 kB / 442 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2798, allocations: 53.83 kB / 442 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.2856, allocations: 3.302 MB / 445.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.286, allocations: 0.7678 MB / 446.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.2861, allocations: 26.97 kB / 446.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.2863, allocations: 99.34 kB / 446.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2863, allocations: 0 / 446.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.3307, allocations: 7.599 MB / 453.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.72, allocations: 3.938 kB / 453.8 MB, free: 14.62 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.321099971999502]