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.001314/0.001314, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001377/0.001377, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.416/1.416, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.00169/0.00169, allocations: 47.92 kB / 370.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2483, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004782/0.2531, allocations: 2.845 MB / 425.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2547, allocations: 0.752 MB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.2549, allocations: 7.938 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.2551, allocations: 51.5 kB / 426.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.2555, allocations: 119 kB / 426.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.2559, allocations: 131.7 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.2565, allocations: 458.3 kB / 427 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.2567, allocations: 89.19 kB / 427 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.257, allocations: 179.4 kB / 427.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.2572, allocations: 167.1 kB / 427.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.2573, allocations: 44 kB / 427.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.2574, allocations: 44 kB / 427.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.2574, allocations: 87.7 kB / 427.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2576, allocations: 159.2 kB / 427.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.2582, allocations: 0.4981 MB / 428.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2582, allocations: 0 / 428.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2582, allocations: 0 / 428.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2582, allocations: 4 kB / 428.2 MB, free: 8.746 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.001323/0.2595, allocations: 0.6355 MB / 428.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2595, allocations: 8.031 kB / 428.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.2596, allocations: 62.72 kB / 428.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.2597, allocations: 40.7 kB / 429 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.2601, allocations: 252.9 kB / 429.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.2602, allocations: 25.03 kB / 429.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.2602, allocations: 36.11 kB / 429.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.261, allocations: 396.4 kB / 429.6 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.261, allocations: 7.938 kB / 429.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.261, allocations: 11.98 kB / 429.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.261, allocations: 8 kB / 429.7 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.2619, allocations: 302.4 kB / 430 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.2641, allocations: 1.147 MB / 431.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/0.2648, allocations: 210.4 kB / 431.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.2651, allocations: 108.8 kB / 431.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2651, allocations: 11.94 kB / 431.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005446/0.2657, allocations: 240.7 kB / 431.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.2657, allocations: 0 / 431.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002433/0.2681, allocations: 0.6033 MB / 432.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.2682, allocations: 106.8 kB / 432.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.2686, allocations: 308.1 kB / 432.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.2687, allocations: 29.7 kB / 432.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.2689, allocations: 212 kB / 432.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.2689, allocations: 59.52 kB / 433 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.269, allocations: 53.7 kB / 433 MB, free: 3.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.2693, allocations: 338.7 kB / 433.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.2697, allocations: 141.6 kB / 433.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.2702, allocations: 297 kB / 433.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.271, allocations: 326.2 kB / 434.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.271, allocations: 8 kB / 434.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001369/0.2724, allocations: 0.5092 MB / 434.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.2724, allocations: 37.7 kB / 434.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2724, allocations: 7.984 kB / 434.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.2729, allocations: 84.86 kB / 434.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.2731, allocations: 51.89 kB / 434.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.2761, allocations: 1.883 MB / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.2765, allocations: 55.75 kB / 436.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.2765, allocations: 11.98 kB / 436.8 MB, free: 15.66 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.0002078/0.2767, allocations: 149.8 kB / 436.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.2768, allocations: 27.81 kB / 436.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.2768, allocations: 37.8 kB / 437 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2768, allocations: 4 kB / 437 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2768, allocations: 0 / 437 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2769, allocations: 0 / 437 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.2772, allocations: 276.6 kB / 437.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2772, allocations: 7.938 kB / 437.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.2774, allocations: 31.97 kB / 437.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.2777, allocations: 84.8 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.2778, allocations: 3.938 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.2802, allocations: 1.698 MB / 439.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2802, allocations: 8 kB / 439.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.2817, allocations: 489.4 kB / 439.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.2817, allocations: 32.06 kB / 439.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.2818, allocations: 8.125 kB / 439.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2821, allocations: 40.02 kB / 439.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.2821, allocations: 23.97 kB / 439.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2822, allocations: 7.938 kB / 439.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.2824, allocations: 211.1 kB / 439.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2824, allocations: 0 / 439.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000465/0.2829, allocations: 87.84 kB / 439.9 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.001888/0.2848, allocations: 1.03 MB / 441 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.2859, allocations: 475.4 kB / 441.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2859, allocations: 0.6875 kB / 441.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.2864, allocations: 238.6 kB / 441.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.2868, allocations: 48.89 kB / 441.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.2932, allocations: 3.436 MB / 445.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.2934, allocations: 159.8 kB / 445.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.2935, allocations: 22.98 kB / 445.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.2937, allocations: 91.41 kB / 445.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2937, allocations: 0 / 445.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.3359, allocations: 8.069 MB / 453.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.68, allocations: 5.375 kB / 453.5 MB, free: 14.64 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.129829201847315]