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.00135/0.00135, allocations: 108.9 kB / 17.06 MB, free: 6.02 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.001356/0.001357, allocations: 191 kB / 18 MB, free: 5.102 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 51.92 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2918, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004402/0.2962, allocations: 3.086 MB / 403.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2976, allocations: 0.7598 MB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2977, allocations: 7.938 kB / 404.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.2979, allocations: 51.48 kB / 404.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.2982, allocations: 115 kB / 404.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.2985, allocations: 131.8 kB / 404.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.2991, allocations: 454.3 kB / 404.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.2994, allocations: 142.9 kB / 405 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2997, allocations: 183.3 kB / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.2999, allocations: 187.2 kB / 405.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.3, allocations: 48 kB / 405.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.3001, allocations: 44 kB / 405.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3002, allocations: 95.61 kB / 405.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.3004, allocations: 187.1 kB / 405.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.301, allocations: 0.4932 MB / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.301, allocations: 0 / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.301, allocations: 0 / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3011, allocations: 0 / 406.2 MB, free: 2.82 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.001449/0.3025, allocations: 0.7185 MB / 406.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3026, allocations: 8.031 kB / 406.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/0.3026, allocations: 66.72 kB / 407 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.3027, allocations: 40.7 kB / 407 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.3032, allocations: 314.7 kB / 407.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.3033, allocations: 28.92 kB / 407.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.3033, allocations: 32.12 kB / 407.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.3041, allocations: 343.6 kB / 407.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3041, allocations: 0 / 407.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.3042, allocations: 12 kB / 407.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3042, allocations: 8 kB / 407.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.305, allocations: 310 kB / 408.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3073, allocations: 1.264 MB / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.3081, allocations: 335.5 kB / 409.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.3085, allocations: 152.7 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3086, allocations: 0 / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/0.3091, allocations: 197.9 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.3091, allocations: 0 / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002153/0.3113, allocations: 0.6356 MB / 410.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3113, allocations: 118.8 kB / 410.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3117, allocations: 291.2 kB / 411 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3117, allocations: 29.7 kB / 411.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3119, allocations: 216.4 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.312, allocations: 63.47 kB / 411.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.3121, allocations: 53.7 kB / 411.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3122, allocations: 330.8 kB / 411.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.3126, allocations: 116.2 kB / 411.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.313, allocations: 221.3 kB / 412 MB, free: 12.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007615/0.3138, allocations: 339.3 kB / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3138, allocations: 0 / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001252/0.3151, allocations: 487.8 kB / 412.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.3151, allocations: 36.2 kB / 412.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3152, allocations: 4 kB / 412.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.3155, allocations: 68.75 kB / 413 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3158, allocations: 67.95 kB / 413 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.3181, allocations: 1.648 MB / 414.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.3184, allocations: 55.75 kB / 414.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.3185, allocations: 23.98 kB / 414.8 MB, free: 9.695 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.0001756/0.3187, allocations: 154.2 kB / 414.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3187, allocations: 31.8 kB / 414.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.3188, allocations: 26.2 kB / 415 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3188, allocations: 4.094 kB / 415 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3188, allocations: 3.938 kB / 415 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3188, allocations: 0 / 415 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3204, allocations: 0.7995 MB / 415.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3204, allocations: 0 / 415.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.3206, allocations: 47.89 kB / 415.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.3209, allocations: 68.84 kB / 415.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3209, allocations: 0 / 415.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.323, allocations: 1.621 MB / 417.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.323, allocations: 0 / 417.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3244, allocations: 0.5593 MB / 418.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.3245, allocations: 120.9 kB / 418.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.3245, allocations: 4 kB / 418.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.3248, allocations: 39.95 kB / 418.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.3249, allocations: 23.91 kB / 418.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.3249, allocations: 4 kB / 418.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.3252, allocations: 210 kB / 418.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3252, allocations: 0 / 418.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000379/0.3256, allocations: 83.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.001838/0.3274, allocations: 1.119 MB / 419.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3285, allocations: 441.9 kB / 420.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3285, allocations: 0 / 420.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.329, allocations: 243.2 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.0004084/0.3294, allocations: 59.86 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.007219/0.3366, allocations: 3.669 MB / 424.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.337, allocations: 0.76 MB / 424.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.3372, 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.0001521/0.3373, allocations: 91.41 kB / 424.9 MB, free: 15 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3374, allocations: 0 / 424.9 MB, free: 15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.3732, allocations: 7.236 MB / 432.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.82, allocations: 12.58 kB / 432.2 MB, free: 7.914 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