Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_3_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.001167/0.001167, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001077/0.001077, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 55.92 kB / 280.8 MB, free: 3.047 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.09078, allocations: 46.62 MB / 327.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003885/0.09471, allocations: 2.602 MB / 330 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.09599, allocations: 0.7059 MB / 330.7 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.0962, allocations: 4 kB / 330.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.09637, allocations: 39.58 kB / 330.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.09658, allocations: 83.33 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.09692, allocations: 91.81 kB / 330.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.09736, allocations: 318.7 kB / 331.2 MB, free: 496 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.09757, allocations: 84.7 kB / 331.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.09783, allocations: 127.5 kB / 331.4 MB, free: 288 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.09806, allocations: 147.4 kB / 331.6 MB, free: 140 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.09812, allocations: 28 kB / 331.6 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.09818, allocations: 27.94 kB / 331.6 MB, free: 84 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.09826, allocations: 59.77 kB / 331.7 MB, free: 24 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.09844, allocations: 131.3 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.0988, allocations: 299.2 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.09882, allocations: 7.984 kB / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09882, allocations: 0 / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.09884, allocations: 0 / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001334/0.1002, allocations: 0.6143 MB / 332.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1002, allocations: 8.031 kB / 332.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.1003, allocations: 58.67 kB / 332.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.1004, allocations: 24.66 kB / 332.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1008, allocations: 275.4 kB / 333.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1008, allocations: 16.75 kB / 333.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1009, allocations: 16.38 kB / 333.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.1014, allocations: 240.4 kB / 333.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1015, allocations: 0 / 333.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1015, allocations: 8 kB / 333.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1015, allocations: 4 kB / 333.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.1022, allocations: 251.5 kB / 333.6 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1036, allocations: 0.8169 MB / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008026/0.1044, allocations: 234.5 kB / 334.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.1047, allocations: 96.78 kB / 334.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1048, allocations: 3.984 kB / 334.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.1052, allocations: 165 kB / 334.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1052, allocations: 0 / 334.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009276/0.1062, allocations: 289.2 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1062, allocations: 85.11 kB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1065, allocations: 236.9 kB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1065, allocations: 33.7 kB / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1066, allocations: 159.9 kB / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1067, allocations: 43.44 kB / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.1068, allocations: 41.7 kB / 335.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1069, allocations: 330.8 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.1072, allocations: 104.7 kB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.1075, allocations: 146.7 kB / 336.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.1081, allocations: 238.8 kB / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1081, allocations: 3.938 kB / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007735/0.1089, allocations: 310.9 kB / 336.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1089, allocations: 37.7 kB / 336.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.109, allocations: 0 / 336.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.109, allocations: 4 kB / 336.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.1092, allocations: 55.89 kB / 337 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1093, allocations: 7.938 kB / 337 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.1095, allocations: 47.77 kB / 337 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.1095, allocations: 8 kB / 337.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003266/0.1099, allocations: 176.1 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002836/0.1102, allocations: 134.8 kB / 337.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004937/0.1107, allocations: 227.4 kB / 337.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.1107, allocations: 0 / 337.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006453/0.1113, allocations: 290.1 kB / 337.9 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.1114, allocations: 33.7 kB / 337.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1114, allocations: 4 kB / 337.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.1114, allocations: 4 kB / 337.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1116, allocations: 55.89 kB / 338 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1116, allocations: 4 kB / 338 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.1119, allocations: 35.91 kB / 338 MB, free: 9.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1119, allocations: 8 kB / 338 MB, free: 9.281 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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.0001224/0.112, allocations: 197.3 kB / 338.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1121, allocations: 19.81 kB / 338.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.1121, allocations: 25.83 kB / 338.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1121, allocations: 0 / 338.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1121, allocations: 0 / 338.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1122, allocations: 4 kB / 338.2 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.1124, allocations: 285.3 kB / 338.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1124, allocations: 4 kB / 338.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.1126, allocations: 43.95 kB / 338.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1126, allocations: 0 / 338.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1127, allocations: 3.984 kB / 338.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1127, allocations: 0 / 338.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1127, allocations: 7.938 kB / 338.6 MB, free: 8.648 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009064/0.1136, allocations: 340.6 kB / 338.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.1137, allocations: 100.8 kB / 339 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1137, allocations: 4 kB / 339 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1139, allocations: 32.02 kB / 339.1 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.114, allocations: 15.98 kB / 339.1 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.114, allocations: 0 / 339.1 MB, free: 8.129 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1142, allocations: 176.5 kB / 339.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1142, allocations: 0 / 339.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1145, allocations: 95.75 kB / 339.3 MB, free: 7.863 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.001194/0.1157, allocations: 0.8737 MB / 340.2 MB, free: 6.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1168, allocations: 435.1 kB / 340.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1168, allocations: 4.062 kB / 340.6 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.1171, allocations: 95.86 kB / 340.7 MB, free: 6.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1174, allocations: 46.05 kB / 340.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.1213, allocations: 2.634 MB / 343.4 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1216, allocations: 0.744 MB / 344.2 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.1217, allocations: 25.94 kB / 344.2 MB, free: 2.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1218, allocations: 71.41 kB / 344.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1218, allocations: 4 kB / 344.3 MB, free: 2.746 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1432, allocations: 5.17 MB / 349.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.623, allocations: 4.422 kB / 349.4 MB, free: 13.51 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches