Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",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.001638/0.001638, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.002052/0.002053, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.701/1.701, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001568, allocations: 51.61 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09897, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004276/0.1033, allocations: 2.839 MB / 353 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1045, allocations: 0.7245 MB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1047, allocations: 11.94 kB / 353.8 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1049, allocations: 43.56 kB / 353.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1051, allocations: 95.19 kB / 353.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1054, allocations: 111.8 kB / 354 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.1058, allocations: 398.5 kB / 354.4 MB, free: 76 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.106, allocations: 123.2 kB / 354.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1062, allocations: 151.5 kB / 354.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1064, allocations: 159.3 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.1065, allocations: 44 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.1066, allocations: 40 kB / 354.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.1067, allocations: 71.7 kB / 355 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1068, allocations: 171.2 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.1072, allocations: 418.8 kB / 355.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1072, allocations: 3.984 kB / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1072, allocations: 0 / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1072, allocations: 4 kB / 355.5 MB, free: 14.91 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001266/0.1085, allocations: 0.6536 MB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1086, allocations: 15.97 kB / 356.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.1086, allocations: 62.72 kB / 356.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.1087, allocations: 32.56 kB / 356.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1091, allocations: 296.5 kB / 356.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1091, allocations: 24.94 kB / 356.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.1092, allocations: 24.38 kB / 356.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/0.1099, allocations: 311.8 kB / 357 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1099, allocations: 0 / 357 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.1099, allocations: 11.98 kB / 357 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.11, allocations: 8 kB / 357 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008475/0.1108, allocations: 278 kB / 357.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.1127, allocations: 1.119 MB / 358.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.1138, allocations: 242.6 kB / 358.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.1141, allocations: 104.7 kB / 358.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1142, allocations: 8 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007377/0.1149, allocations: 172.9 kB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.455e-06/0.1149, allocations: 0 / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001198/0.1161, allocations: 313.1 kB / 359.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.1162, allocations: 85.11 kB / 359.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1165, allocations: 266.6 kB / 359.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.1166, allocations: 29.7 kB / 359.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1167, allocations: 195.5 kB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1168, allocations: 39.47 kB / 359.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1169, allocations: 49.61 kB / 359.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1171, allocations: 334.8 kB / 360.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.1175, allocations: 108.2 kB / 360.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.1179, allocations: 188.7 kB / 360.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.1187, allocations: 303.7 kB / 360.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1187, allocations: 0 / 360.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009581/0.1197, allocations: 360.6 kB / 361.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.1197, allocations: 40.52 kB / 361.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1197, allocations: 4.344 kB / 361.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1198, allocations: 8 kB / 361.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1201, allocations: 63.89 kB / 361.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1201, allocations: 7.984 kB / 361.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.1204, allocations: 43.75 kB / 361.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.1204, allocations: 16 kB / 361.3 MB, free: 8.797 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.1206, allocations: 145.7 kB / 361.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.1206, allocations: 23.72 kB / 361.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.1207, allocations: 25.7 kB / 361.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1207, allocations: 4 kB / 361.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1207, allocations: 3.938 kB / 361.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1207, allocations: 7.922 kB / 361.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.121, allocations: 305.5 kB / 361.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1211, allocations: 0 / 361.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1213, allocations: 51.89 kB / 361.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1213, allocations: 0 / 361.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1214, allocations: 4 kB / 361.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1214, allocations: 0 / 361.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1214, allocations: 7.938 kB / 361.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.1226, allocations: 364.6 kB / 362.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.1227, allocations: 104.8 kB / 362.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.1227, allocations: 4 kB / 362.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.123, allocations: 32.03 kB / 362.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.1231, allocations: 19.92 kB / 362.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1231, allocations: 3.984 kB / 362.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.1233, allocations: 190 kB / 362.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1233, allocations: 7.938 kB / 362.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1236, allocations: 59.84 kB / 362.6 MB, free: 7.359 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.1251, allocations: 0.9049 MB / 363.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.126, allocations: 303.2 kB / 363.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.126, allocations: 0 / 363.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.1264, allocations: 100.5 kB / 363.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1268, allocations: 52.44 kB / 364 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.1316, allocations: 2.904 MB / 366.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1319, allocations: 0.748 MB / 367.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.132, allocations: 26.28 kB / 367.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1322, allocations: 83.41 kB / 367.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1322, allocations: 0 / 367.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/0.3401, allocations: 5.409 MB / 373.1 MB, free: 25.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.07, allocations: 12.16 kB / 373.1 MB, free: 25.15 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_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_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches