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.001385/0.001385, allocations: 105.6 kB / 16.92 MB, free: 5.719 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.001285/0.001285, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.404/1.404, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 50.39 kB / 300.7 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.0969, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004638/0.1016, allocations: 3.069 MB / 353.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1031, allocations: 0.7715 MB / 354 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1034, allocations: 15.94 kB / 354 MB, free: 460 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.1036, allocations: 51.5 kB / 354.1 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1039, allocations: 115 kB / 354.2 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1042, allocations: 127.8 kB / 354.3 MB, free: 164 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.1047, allocations: 454.3 kB / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.105, allocations: 146.9 kB / 354.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1053, allocations: 179.3 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1055, allocations: 183.2 kB / 355.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.1056, allocations: 44 kB / 355.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.1057, allocations: 44 kB / 355.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.1058, allocations: 95.62 kB / 355.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.106, allocations: 191.1 kB / 355.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1064, allocations: 498.6 kB / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1064, allocations: 0 / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1064, allocations: 0 / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.1064, allocations: 4 kB / 356.1 MB, free: 14.36 MB / 302.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.001423/0.1079, allocations: 0.7186 MB / 356.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1079, allocations: 12.03 kB / 356.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.108, allocations: 58.73 kB / 356.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.1081, allocations: 40.55 kB / 356.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1085, allocations: 306.5 kB / 357.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.1085, allocations: 28.92 kB / 357.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1086, allocations: 36.11 kB / 357.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007652/0.1093, allocations: 351.6 kB / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1094, allocations: 0 / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.1094, allocations: 8 kB / 357.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1094, allocations: 8 kB / 357.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008587/0.1103, allocations: 310 kB / 358 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1125, allocations: 1.26 MB / 359.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.1133, allocations: 331.5 kB / 359.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.1138, allocations: 148.7 kB / 359.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1138, allocations: 0 / 359.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.1144, allocations: 204.7 kB / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.1144, allocations: 0 / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002223/0.1167, allocations: 0.6433 MB / 360.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1167, allocations: 102.8 kB / 360.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1171, allocations: 294.9 kB / 360.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1171, allocations: 37.7 kB / 361 MB, free: 9.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1173, allocations: 212.2 kB / 361.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.1173, allocations: 59.2 kB / 361.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.1174, allocations: 49.7 kB / 361.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1176, allocations: 338.8 kB / 361.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.1179, allocations: 120.2 kB / 361.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.1184, allocations: 217.2 kB / 361.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.1192, allocations: 338.5 kB / 362.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1192, allocations: 0 / 362.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001283/0.1205, allocations: 483.6 kB / 362.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.1205, allocations: 37.69 kB / 362.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1205, allocations: 4 kB / 362.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.1209, allocations: 68.81 kB / 362.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.1212, allocations: 71.89 kB / 362.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.1234, allocations: 1.641 MB / 364.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.1237, allocations: 63.64 kB / 364.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1238, allocations: 12 kB / 364.6 MB, free: 5.258 MB / 302.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.0001615/0.124, allocations: 150.3 kB / 364.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.124, allocations: 31.56 kB / 364.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.1241, allocations: 30.2 kB / 364.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1241, allocations: 0 / 364.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1241, allocations: 8 kB / 364.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1241, allocations: 7.969 kB / 364.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.1258, allocations: 0.7925 MB / 365.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1258, allocations: 4.031 kB / 365.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.126, allocations: 43.91 kB / 365.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.1263, allocations: 56.81 kB / 365.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1263, allocations: 8 kB / 365.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.1284, allocations: 1.625 MB / 367.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1284, allocations: 4.031 kB / 367.4 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1299, allocations: 0.5661 MB / 368 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.13, allocations: 100.8 kB / 368.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.13, allocations: 8 kB / 368.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.1303, allocations: 36.02 kB / 368.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.1304, allocations: 23.92 kB / 368.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1305, allocations: 8 kB / 368.1 MB, free: 1.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.1307, allocations: 213.9 kB / 368.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1307, allocations: 0 / 368.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.1311, allocations: 83.78 kB / 368.4 MB, free: 1.219 MB / 302.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.133, allocations: 1.116 MB / 369.5 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1561/0.2891, allocations: 434.4 kB / 370 MB, free: 25.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2891, allocations: 2.844 kB / 370 MB, free: 25.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.2897, allocations: 240.3 kB / 370.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.2902, allocations: 57.09 kB / 370.3 MB, free: 25.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.2979, allocations: 3.672 MB / 373.9 MB, free: 23.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2982, allocations: 0.7654 MB / 374.7 MB, free: 23.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.2983, allocations: 31.55 kB / 374.7 MB, free: 23.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2985, allocations: 94.62 kB / 374.8 MB, free: 23.01 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2985, allocations: 0 / 374.8 MB, free: 23.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.3413, allocations: 7.11 MB / 381.9 MB, free: 21.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.96, allocations: 6.391 kB / 381.9 MB, free: 21.46 MB / 302.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