Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.001388/0.001388, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001581/0.001581, allocations: 195 kB / 18 MB, free: 5.074 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.86 kB / 350.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2883, allocations: 49.42 MB / 400.3 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004697/0.2931, allocations: 3.088 MB / 403.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2946, allocations: 0.752 MB / 404.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.295, allocations: 11.94 kB / 404.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.2953, allocations: 47.5 kB / 404.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.2956, allocations: 123 kB / 404.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.2961, allocations: 131.8 kB / 404.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.2967, allocations: 458.2 kB / 404.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.2969, allocations: 142.9 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.2973, allocations: 175.3 kB / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.2976, allocations: 195.2 kB / 405.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.2977, allocations: 44 kB / 405.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.2978, allocations: 44 kB / 405.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.2979, allocations: 91.62 kB / 405.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.2981, allocations: 195.1 kB / 405.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.2987, allocations: 0.4893 MB / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2987, allocations: 0 / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2987, allocations: 4 kB / 406.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.2987, allocations: 0 / 406.2 MB, free: 2.816 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.001576/0.3003, allocations: 0.7146 MB / 406.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3003, allocations: 12.03 kB / 406.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.91e-05/0.3004, allocations: 66.66 kB / 407 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.3005, allocations: 40.7 kB / 407 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.301, allocations: 318.7 kB / 407.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3011, allocations: 20.94 kB / 407.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.3011, allocations: 36.11 kB / 407.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.3019, allocations: 347.6 kB / 407.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.302, allocations: 7.922 kB / 407.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.302, allocations: 12 kB / 407.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.302, allocations: 8 kB / 407.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.3029, allocations: 302 kB / 408.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.3051, allocations: 1.264 MB / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.3059, allocations: 335.5 kB / 409.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.3064, allocations: 144.8 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3064, allocations: 4 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.3069, allocations: 197.8 kB / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.3069, allocations: 0 / 410 MB, free: 14.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002127/0.3091, allocations: 0.6415 MB / 410.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.3092, allocations: 110.8 kB / 410.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.3095, allocations: 295.2 kB / 411 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3095, allocations: 25.7 kB / 411.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3097, allocations: 216.4 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.3097, allocations: 63.47 kB / 411.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.3098, allocations: 53.7 kB / 411.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.31, allocations: 338.8 kB / 411.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.3103, allocations: 108.2 kB / 411.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.3108, allocations: 227.3 kB / 412.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.3116, allocations: 333 kB / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3116, allocations: 4 kB / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001273/0.3129, allocations: 490 kB / 412.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.3129, allocations: 37.7 kB / 412.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3129, allocations: 3.984 kB / 412.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.3133, allocations: 68.88 kB / 413 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.3136, allocations: 67.89 kB / 413 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.3157, allocations: 1.648 MB / 414.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.3161, allocations: 59.81 kB / 414.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3162, allocations: 15.94 kB / 414.8 MB, free: 9.691 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.3164, allocations: 154.2 kB / 414.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.3164, allocations: 31.78 kB / 414.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.3165, allocations: 22.22 kB / 415 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3165, allocations: 4 kB / 415 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3165, allocations: 3.984 kB / 415 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3165, allocations: 0 / 415 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.3181, allocations: 0.7996 MB / 415.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3181, allocations: 0 / 415.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.3183, allocations: 51.89 kB / 415.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.3185, allocations: 60.86 kB / 415.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3186, allocations: 3.984 kB / 415.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.3206, allocations: 1.629 MB / 417.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3206, allocations: 0 / 417.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.3221, allocations: 0.5703 MB / 418.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3222, allocations: 112.8 kB / 418.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.3223, allocations: 4 kB / 418.2 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.3226, allocations: 35.95 kB / 418.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.3227, allocations: 23.97 kB / 418.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3227, allocations: 4 kB / 418.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.3229, allocations: 210 kB / 418.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3229, allocations: 4 kB / 418.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.3234, allocations: 75.89 kB / 418.5 MB, free: 5.656 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/0.3252, allocations: 1.116 MB / 419.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3262, allocations: 441.8 kB / 420.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3262, allocations: 0 / 420.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.3267, allocations: 243.3 kB / 420.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.3272, allocations: 59.77 kB / 420.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.3346, allocations: 3.671 MB / 424.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.335, allocations: 0.76 MB / 424.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.3352, allocations: 30.97 kB / 424.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3354, allocations: 95.41 kB / 424.9 MB, free: 15 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3354, allocations: 0 / 424.9 MB, free: 15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.3677, allocations: 7.237 MB / 432.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.55, allocations: 16.58 kB / 432.2 MB, free: 7.91 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches