Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001497/0.001497, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002355/0.002356, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 64.08 kB / 307.1 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004386/0.1245, allocations: 3.086 MB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1262, allocations: 0.8105 MB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.1266, allocations: 7.938 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1269, allocations: 55.5 kB / 361.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.1274, allocations: 115 kB / 361.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1279, allocations: 127.8 kB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.1286, allocations: 450.3 kB / 362.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.1289, allocations: 146.8 kB / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.1294, allocations: 191.3 kB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.1297, allocations: 191.1 kB / 362.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.1298, allocations: 44 kB / 362.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.1299, allocations: 48 kB / 362.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.13, allocations: 87.69 kB / 362.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1302, allocations: 195 kB / 363.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004728/0.1307, allocations: 490.7 kB / 363.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1307, allocations: 0 / 363.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1307, allocations: 3.938 kB / 363.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1307, allocations: 0 / 363.6 MB, free: 7.938 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.001576/0.1323, allocations: 0.7226 MB / 364.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1323, allocations: 8.031 kB / 364.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.1325, allocations: 58.73 kB / 364.4 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.1326, allocations: 36.56 kB / 364.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.1331, allocations: 310.6 kB / 364.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.1331, allocations: 24.94 kB / 364.7 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.1332, allocations: 32.11 kB / 364.8 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.134, allocations: 351.6 kB / 365.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.134, allocations: 3.938 kB / 365.1 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.134, allocations: 12 kB / 365.1 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1341, allocations: 4 kB / 365.1 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.1349, allocations: 310 kB / 365.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.1371, allocations: 1.264 MB / 366.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/0.138, allocations: 339.5 kB / 367 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.1384, allocations: 144.8 kB / 367.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1384, allocations: 0 / 367.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.139, allocations: 197.8 kB / 367.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.139, allocations: 0 / 367.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002226/0.1413, allocations: 0.6459 MB / 368 MB, free: 3.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.1413, allocations: 106.8 kB / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1417, allocations: 294.9 kB / 368.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1417, allocations: 33.7 kB / 368.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1419, allocations: 212.2 kB / 368.6 MB, free: 2.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.142, allocations: 63.19 kB / 368.7 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1421, allocations: 49.7 kB / 368.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1422, allocations: 334.8 kB / 369.1 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.1426, allocations: 116.2 kB / 369.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.1431, allocations: 217.3 kB / 369.4 MB, free: 1.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.1439, allocations: 342.7 kB / 369.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1439, allocations: 4 kB / 369.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001285/0.1452, allocations: 491.5 kB / 370.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.1452, allocations: 33.8 kB / 370.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1452, allocations: 7.938 kB / 370.3 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.1456, allocations: 64.88 kB / 370.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.1459, allocations: 71.89 kB / 370.4 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1392/0.2851, allocations: 1.622 MB / 372 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.2857, allocations: 56.8 kB / 372.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.2857, allocations: 13.45 kB / 372.1 MB, free: 18.55 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.0001934/0.2859, allocations: 162.3 kB / 372.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.286, allocations: 31.69 kB / 372.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.286, allocations: 29.11 kB / 372.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.286, allocations: 2.719 kB / 372.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.286, allocations: 1.031 kB / 372.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2861, allocations: 2.391 kB / 372.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.2877, allocations: 0.7916 MB / 373.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.2877, allocations: 0.875 kB / 373.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.288, allocations: 47.06 kB / 373.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.2882, allocations: 60.25 kB / 373.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.2882, allocations: 5.625 kB / 373.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.29, allocations: 1.633 MB / 374.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.29, allocations: 0.6875 kB / 374.9 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2916, allocations: 0.5665 MB / 375.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.2917, allocations: 106.5 kB / 375.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.2917, allocations: 6.297 kB / 375.5 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.2921, allocations: 35.53 kB / 375.6 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.2921, allocations: 19.8 kB / 375.6 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.2922, allocations: 11.19 kB / 375.6 MB, free: 16.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.2924, allocations: 212.6 kB / 375.8 MB, free: 16.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2924, allocations: 0 / 375.8 MB, free: 16.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.2929, allocations: 87.91 kB / 375.9 MB, free: 16.43 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.001702/0.2946, allocations: 1.108 MB / 377 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.2956, allocations: 454 kB / 377.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2956, allocations: 5.219 kB / 377.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.2961, allocations: 249.4 kB / 377.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.2966, allocations: 55.11 kB / 377.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007195/0.3038, allocations: 3.663 MB / 381.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.304, allocations: 0.7648 MB / 382.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.3042, allocations: 30.98 kB / 382.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.3044, allocations: 94.83 kB / 382.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3044, allocations: 0 / 382.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.336, allocations: 7.13 MB / 389.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.37, allocations: 10.14 kB / 389.4 MB, free: 10.62 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches