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.00183/0.00183, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001954/0.001954, allocations: 189.4 kB / 18 MB, free: 5.098 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.462/1.462, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.92 kB / 350.8 MB, free: 3.684 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 49.43 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00506/0.2841, allocations: 3.087 MB / 403.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2859, allocations: 0.7598 MB / 404.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.2862, allocations: 7.938 kB / 404.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2864, allocations: 47.5 kB / 404.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.2867, allocations: 119 kB / 404.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.2871, allocations: 131.8 kB / 404.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.2877, allocations: 454.3 kB / 404.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.2881, allocations: 134.9 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.2884, allocations: 183.3 kB / 405.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.2887, allocations: 183.2 kB / 405.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.2888, allocations: 44 kB / 405.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.2889, allocations: 44 kB / 405.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.289, allocations: 95.62 kB / 405.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.2892, allocations: 191.1 kB / 405.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.2899, allocations: 497.1 kB / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2899, allocations: 0 / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2899, allocations: 0 / 406.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2899, allocations: 0 / 406.2 MB, free: 2.824 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.00166/0.2916, allocations: 0.7185 MB / 406.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2916, allocations: 8.031 kB / 406.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.2917, allocations: 66.72 kB / 407 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.2918, allocations: 44.7 kB / 407 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.2923, allocations: 314.7 kB / 407.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.2923, allocations: 20.94 kB / 407.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.2924, allocations: 32.12 kB / 407.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.2932, allocations: 347.6 kB / 407.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2933, allocations: 0 / 407.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.2933, allocations: 15.94 kB / 407.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2933, allocations: 8 kB / 407.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.2942, allocations: 306 kB / 408.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.2966, allocations: 1.275 MB / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.2973, allocations: 226.4 kB / 409.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.2977, allocations: 116.8 kB / 409.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.2978, allocations: 0 / 409.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.2984, allocations: 189.8 kB / 409.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.2984, allocations: 3.938 kB / 409.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002607/0.301, allocations: 0.6936 MB / 410.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.3011, allocations: 106.8 kB / 410.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.3015, allocations: 291 kB / 410.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3015, allocations: 29.7 kB / 411 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.3017, allocations: 216 kB / 411.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.3018, allocations: 51.52 kB / 411.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3019, allocations: 57.66 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3021, allocations: 346.8 kB / 411.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.3025, allocations: 111.9 kB / 411.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.303, allocations: 216.5 kB / 411.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.3038, allocations: 319.7 kB / 412.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3038, allocations: 0 / 412.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00138/0.3052, allocations: 491.8 kB / 412.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3052, allocations: 29.7 kB / 412.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3053, allocations: 4 kB / 412.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/0.3057, allocations: 92.84 kB / 412.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.3059, allocations: 55.89 kB / 412.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.3089, allocations: 2.013 MB / 414.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.3093, allocations: 51.8 kB / 415 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3094, allocations: 12 kB / 415 MB, free: 9.461 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.0001966/0.3096, allocations: 154.1 kB / 415.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.3096, allocations: 27.8 kB / 415.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.3097, allocations: 33.8 kB / 415.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3097, allocations: 0 / 415.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3097, allocations: 0 / 415.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3097, allocations: 0 / 415.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.3102, allocations: 345.4 kB / 415.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3102, allocations: 0 / 415.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.3104, allocations: 27.97 kB / 415.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.3107, allocations: 84.83 kB / 415.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.3107, allocations: 11.94 kB / 415.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.3133, allocations: 1.809 MB / 417.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3133, allocations: 0 / 417.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3148, allocations: 497.5 kB / 417.9 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.315, allocations: 105 kB / 418.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.315, allocations: 11.94 kB / 418.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3153, allocations: 31.95 kB / 418.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.3154, allocations: 23.97 kB / 418.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3154, allocations: 4 kB / 418.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3156, allocations: 206 kB / 418.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3156, allocations: 0 / 418.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000384/0.316, allocations: 103.7 kB / 418.4 MB, free: 5.777 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.001953/0.318, allocations: 1.046 MB / 419.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3192, allocations: 448.7 kB / 419.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3192, allocations: 0 / 419.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.3197, allocations: 251 kB / 420.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3201, allocations: 56.91 kB / 420.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.3262, allocations: 3.314 MB / 423.5 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.3267, allocations: 0.76 MB / 424.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.3268, allocations: 30.97 kB / 424.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.327, allocations: 87.41 kB / 424.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.327, allocations: 0 / 424.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.3646, allocations: 7.37 MB / 431.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 12.75 kB / 431.8 MB, free: 8.336 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