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.001276/0.001276, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001493/0.001493, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.001577/0.001577, allocations: 43.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2665, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004916/0.2715, allocations: 2.87 MB / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.2733, allocations: 0.7792 MB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.2736, allocations: 4 kB / 434.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.2739, allocations: 59.44 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.2742, allocations: 115.1 kB / 434.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.2746, allocations: 131.8 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.2753, allocations: 454.2 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.2755, allocations: 97.14 kB / 435.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.2759, allocations: 183.3 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.2762, allocations: 171.2 kB / 436 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.2763, allocations: 44 kB / 436 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.2763, allocations: 44 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.2764, allocations: 83.75 kB / 436.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2766, allocations: 167.2 kB / 436.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.2772, allocations: 0.4903 MB / 436.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2772, allocations: 0 / 436.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2772, allocations: 0 / 436.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.2772, allocations: 0 / 436.8 MB, free: 0.9531 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.001543/0.2788, allocations: 0.6433 MB / 437.4 MB, free: 276 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2788, allocations: 8.031 kB / 437.4 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.602e-05/0.2789, allocations: 66.72 kB / 437.5 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.279, allocations: 40.7 kB / 437.5 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.2795, allocations: 257 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2795, allocations: 21.03 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2796, allocations: 32.11 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.2804, allocations: 396.4 kB / 438.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2804, allocations: 4 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.2804, allocations: 12 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2804, allocations: 4 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.2813, allocations: 302.4 kB / 438.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.2836, allocations: 1.155 MB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.2843, allocations: 218 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.2846, allocations: 109 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2846, allocations: 7.969 kB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.2852, allocations: 251.4 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.2852, allocations: 0 / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002336/0.2875, allocations: 0.6072 MB / 440.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.2876, allocations: 110.8 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.2879, allocations: 296.1 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.288, allocations: 29.7 kB / 441.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2881, allocations: 212 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.2882, allocations: 59.47 kB / 441.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2883, allocations: 61.64 kB / 441.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2885, allocations: 334.8 kB / 441.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.2888, allocations: 145.6 kB / 442.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.2893, allocations: 285.8 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.2901, allocations: 327.7 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2901, allocations: 4 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00133/0.2914, allocations: 0.508 MB / 443.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.2915, allocations: 41.69 kB / 443.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2915, allocations: 4 kB / 443.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.2918, allocations: 84.8 kB / 443.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2921, allocations: 59.97 kB / 443.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.2948, allocations: 1.871 MB / 445.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2952, allocations: 63.8 kB / 445.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.2952, allocations: 12 kB / 445.3 MB, free: 7.852 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.0001719/0.2954, allocations: 153.2 kB / 445.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2954, allocations: 23.86 kB / 445.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.2955, allocations: 29.73 kB / 445.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2955, allocations: 4 kB / 445.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.2955, allocations: 4.047 kB / 445.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2955, allocations: 3.984 kB / 445.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.2958, allocations: 276.5 kB / 445.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2958, allocations: 4 kB / 445.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.296, allocations: 27.97 kB / 445.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.2963, allocations: 96.8 kB / 445.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.2963, allocations: 3.938 kB / 445.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.2987, allocations: 1.686 MB / 447.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2987, allocations: 3.938 kB / 447.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3002, allocations: 497.5 kB / 448.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.3002, allocations: 31.81 kB / 448.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.3003, allocations: 7.938 kB / 448.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3005, allocations: 36.03 kB / 448.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.3006, allocations: 23.95 kB / 448.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3006, allocations: 4.188 kB / 448.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3008, allocations: 211.1 kB / 448.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3008, allocations: 0 / 448.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003861/0.3012, allocations: 87.84 kB / 448.5 MB, free: 4.477 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.001842/0.3031, allocations: 1.031 MB / 449.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3041, allocations: 470.1 kB / 450 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3041, allocations: 0 / 450 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.3046, allocations: 247.2 kB / 450.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.305, allocations: 48.95 kB / 450.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.3109, allocations: 3.434 MB / 453.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.3111, allocations: 159.8 kB / 453.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3112, allocations: 34.94 kB / 453.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3114, allocations: 91.41 kB / 454 MB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3114, allocations: 0 / 454 MB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.3536, allocations: 8.095 MB / 462.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.73, allocations: 0 / 462.1 MB, free: 6.805 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.135497752111405]