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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001656, allocations: 110.5 kB / 17.06 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 200 kB / 18.01 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2717, allocations: 49.43 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004333/0.2761, allocations: 3.077 MB / 403.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2774, allocations: 0.7676 MB / 404.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2776, allocations: 4 kB / 404.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.2778, allocations: 51.5 kB / 404.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.278, allocations: 123 kB / 404.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.2783, allocations: 123.8 kB / 404.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2788, allocations: 454.3 kB / 404.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.279, allocations: 138.9 kB / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.2792, allocations: 179.3 kB / 405.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2795, allocations: 191.2 kB / 405.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.2795, allocations: 44 kB / 405.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.2796, allocations: 48 kB / 405.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.2797, allocations: 87.62 kB / 405.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2798, allocations: 191.1 kB / 405.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.2803, allocations: 0.4893 MB / 406.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2803, allocations: 0 / 406.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2803, allocations: 4 kB / 406.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2803, allocations: 0 / 406.2 MB, free: 2.828 MB / 318.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.001333/0.2817, allocations: 0.7146 MB / 406.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2817, allocations: 8.031 kB / 406.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.2818, allocations: 58.73 kB / 407 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.2819, allocations: 44.69 kB / 407 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.2823, allocations: 314.7 kB / 407.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2824, allocations: 20.94 kB / 407.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.2824, allocations: 36.12 kB / 407.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.2831, allocations: 347.6 kB / 407.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2832, allocations: 0 / 407.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2832, allocations: 12 kB / 407.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2832, allocations: 11.98 kB / 407.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.284, allocations: 298.1 kB / 408 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.2861, allocations: 1.283 MB / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.2868, allocations: 226.4 kB / 409.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2871, allocations: 116.8 kB / 409.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2872, allocations: 0 / 409.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.2876, allocations: 201.8 kB / 409.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.2877, allocations: 0 / 409.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002311/0.29, allocations: 0.6864 MB / 410.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.2901, allocations: 110.7 kB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.2904, allocations: 291 kB / 410.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2904, allocations: 33.7 kB / 411 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2905, allocations: 212 kB / 411.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.2906, allocations: 59.52 kB / 411.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/0.2907, allocations: 57.66 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2908, allocations: 338.8 kB / 411.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.2912, allocations: 111.9 kB / 411.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.2916, allocations: 216.5 kB / 411.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.2923, allocations: 323.7 kB / 412.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2923, allocations: 0 / 412.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001309/0.2936, allocations: 498.5 kB / 412.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.2937, allocations: 33.7 kB / 412.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2937, allocations: 0 / 412.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.2941, allocations: 84.73 kB / 412.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2944, allocations: 60.03 kB / 412.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.2976, allocations: 2.001 MB / 414.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.298, allocations: 51.75 kB / 415 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.2981, allocations: 20.06 kB / 415 MB, free: 9.469 MB / 334.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.0001872/0.2983, allocations: 150 kB / 415.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.2983, allocations: 23.86 kB / 415.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.2984, allocations: 33.8 kB / 415.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2984, allocations: 0 / 415.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2984, allocations: 0 / 415.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2984, allocations: 4.031 kB / 415.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.2988, allocations: 345.4 kB / 415.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2988, allocations: 4 kB / 415.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.299, allocations: 31.97 kB / 415.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.2993, allocations: 76.92 kB / 415.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.2993, allocations: 15.94 kB / 415.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.3016, allocations: 1.809 MB / 417.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3016, allocations: 0 / 417.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.303, allocations: 0.4931 MB / 418 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.3031, allocations: 101 kB / 418.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.3032, allocations: 11.94 kB / 418.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3035, allocations: 27.97 kB / 418.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.3035, allocations: 20.03 kB / 418.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3036, allocations: 12 kB / 418.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3038, allocations: 209.9 kB / 418.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3038, allocations: 0 / 418.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.3042, allocations: 91.78 kB / 418.4 MB, free: 5.793 MB / 334.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.001737/0.3059, allocations: 1.05 MB / 419.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3073, allocations: 441.8 kB / 419.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3074, allocations: 0.6875 kB / 419.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008288/0.3082, allocations: 254.4 kB / 420.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3087, allocations: 56.42 kB / 420.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007849/0.3165, allocations: 3.313 MB / 423.5 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.317, allocations: 0.7677 MB / 424.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.3172, allocations: 34.95 kB / 424.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3174, allocations: 95.41 kB / 424.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3174, allocations: 0 / 424.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.3552, allocations: 7.35 MB / 431.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.45, allocations: 12.69 kB / 431.8 MB, free: 8.352 MB / 350.1 MB (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) 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) Reference file matches