Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 116.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 71.89 kB / 377.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2583, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004561/0.2629, allocations: 3.141 MB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2643, allocations: 0.7792 MB / 435.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2645, allocations: 8 kB / 435.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.2646, allocations: 59.42 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.2649, allocations: 119 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.2651, allocations: 107.8 kB / 435.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.2656, allocations: 458.1 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2659, allocations: 95.47 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.2662, allocations: 187.3 kB / 436.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.2664, allocations: 195.2 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.2665, allocations: 44 kB / 436.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7e-05/0.2665, allocations: 44 kB / 436.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.2666, allocations: 95.61 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2668, allocations: 195.1 kB / 436.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.2674, allocations: 0.4985 MB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2674, allocations: 0 / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2674, allocations: 0 / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2674, allocations: 3.938 kB / 437.2 MB, free: 0.6406 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001254/0.2686, allocations: 0.6277 MB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2687, allocations: 12.03 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.913e-05/0.2687, allocations: 66.67 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.2688, allocations: 44.66 kB / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.2693, allocations: 264.9 kB / 438.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.2693, allocations: 25.02 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.2694, allocations: 32.12 kB / 438.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.27, allocations: 302 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.27, allocations: 4 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.27, allocations: 12 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2701, allocations: 8 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.2707, allocations: 282.4 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.2729, allocations: 1.181 MB / 440.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.2734, allocations: 194.4 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.2737, allocations: 100.8 kB / 440.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.2737, allocations: 8 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.2742, allocations: 189.3 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.2742, allocations: 4 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001601/0.2758, allocations: 454 kB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2759, allocations: 136.5 kB / 441.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.2762, allocations: 300.1 kB / 441.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.2763, allocations: 29.7 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.2764, allocations: 216.4 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.2765, allocations: 59.53 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.902e-05/0.2766, allocations: 61.64 kB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2767, allocations: 334.8 kB / 442.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.277, allocations: 100.2 kB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.2774, allocations: 201 kB / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.278, allocations: 301.9 kB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.278, allocations: 0 / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001024/0.279, allocations: 423.5 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.279, allocations: 37.69 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2791, allocations: 4 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/0.2794, allocations: 84.92 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.2796, allocations: 55.95 kB / 443.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.2818, allocations: 1.705 MB / 445 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.2822, allocations: 55.7 kB / 445 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2822, allocations: 15.98 kB / 445 MB, free: 8.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.2824, allocations: 161.2 kB / 445.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.2824, allocations: 27.8 kB / 445.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.2825, allocations: 34.08 kB / 445.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2825, allocations: 4 kB / 445.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2825, allocations: 0 / 445.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2825, allocations: 0 / 445.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.2829, allocations: 328.3 kB / 445.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2829, allocations: 0 / 445.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.283, allocations: 31.91 kB / 445.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.2833, allocations: 80.83 kB / 445.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.2833, allocations: 11.98 kB / 445.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.2853, allocations: 1.703 MB / 447.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2853, allocations: 3.938 kB / 447.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.2864, allocations: 437.4 kB / 447.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.2865, allocations: 23.89 kB / 447.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.2865, allocations: 4 kB / 447.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2868, allocations: 31.95 kB / 447.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.2868, allocations: 32.02 kB / 447.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.2869, allocations: 4 kB / 447.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.2871, allocations: 207.1 kB / 448.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2871, allocations: 3.938 kB / 448.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.2875, allocations: 99.78 kB / 448.2 MB, free: 4.93 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: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/0.289, allocations: 0.977 MB / 449.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.29, allocations: 417.9 kB / 449.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.2901, allocations: 4 kB / 449.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.2905, allocations: 247.1 kB / 449.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.2909, allocations: 60.89 kB / 449.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006071/0.297, allocations: 3.312 MB / 453.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.2974, allocations: 0.7678 MB / 454 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.2976, allocations: 30.95 kB / 454 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2977, allocations: 95.41 kB / 454.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2977, allocations: 0 / 454.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.3379, allocations: 7.948 MB / 462.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.64, allocations: 7.547 kB / 462.1 MB, free: 6.965 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.126168626000435]