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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00077/0.00077, allocations: 149.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9149/0.9149, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 318.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.05e-05, allocations: 2.281 kB / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003116/0.003136, allocations: 2.664 MB / 321.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.004072, allocations: 0.6934 MB / 321.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.004196, allocations: 7.938 kB / 321.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.004328, allocations: 47.5 kB / 321.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.00446, allocations: 103.2 kB / 322 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.004694, allocations: 127.7 kB / 322.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.004984, allocations: 398.3 kB / 322.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.005146, allocations: 79.67 kB / 322.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.005366, allocations: 227.4 kB / 322.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005489, allocations: 123.6 kB / 322.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005529, allocations: 40 kB / 323 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.00556, allocations: 36 kB / 323 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.005609, allocations: 79.73 kB / 323.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.005694, allocations: 111.7 kB / 323.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.006, allocations: 442.6 kB / 323.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006002, allocations: 0 / 323.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006003, allocations: 4 kB / 323.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.006008, allocations: 0 / 323.6 MB, free: 1.129 MB / 282.7 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.0008054/0.006813, allocations: 0.5812 MB / 324.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.006851, allocations: 16.92 kB / 324.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.006897, allocations: 62.73 kB / 324.3 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.006945, allocations: 36.7 kB / 324.3 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.007233, allocations: 238.1 kB / 324.5 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.007251, allocations: 16.88 kB / 324.6 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.007283, allocations: 20.38 kB / 324.6 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.007711, allocations: 341 kB / 324.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007721, allocations: 192 / 324.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.007743, allocations: 20.11 kB / 324.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007749, allocations: 4 kB / 324.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.008173, allocations: 277.8 kB / 325.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.009218, allocations: 0.9877 MB / 326.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.009699, allocations: 234.6 kB / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.009865, allocations: 104.7 kB / 326.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.009883, allocations: 0 / 326.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.01016, allocations: 206.6 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.01016, allocations: 0 / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000558/0.01072, allocations: 309.3 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.01076, allocations: 85.08 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.01095, allocations: 277.7 kB / 327.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.01096, allocations: 25.7 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.01106, allocations: 208 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01109, allocations: 35.69 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.01114, allocations: 49.7 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.01124, allocations: 338.8 kB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.01144, allocations: 129.8 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.01166, allocations: 239 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.01204, allocations: 311.1 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01204, allocations: 3.938 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004847/0.01252, allocations: 388.5 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.01255, allocations: 38.03 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01256, allocations: 8 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01257, allocations: 4 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.01272, allocations: 67.89 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01273, allocations: 4 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01287, allocations: 51.8 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01288, allocations: 8 kB / 329.3 MB, free: 11.11 MB / 298.7 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.0001069/0.01299, allocations: 166.2 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.01301, allocations: 19.86 kB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.01305, allocations: 25.77 kB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01305, allocations: 0 / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01305, allocations: 0 / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01306, allocations: 0 / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.01323, allocations: 256.5 kB / 329.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01323, allocations: 0 / 329.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.01335, allocations: 51.95 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01335, allocations: 7.938 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01336, allocations: 4 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01336, allocations: 0 / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01336, allocations: 0 / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.01402, allocations: 368.6 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.01406, allocations: 27.88 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01408, allocations: 0 / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01419, allocations: 31.97 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.01426, allocations: 20.03 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.01427, allocations: 4 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.01439, allocations: 189.2 kB / 330.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01439, allocations: 0 / 330.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.01458, allocations: 67.83 kB / 330.5 MB, free: 9.824 MB / 298.7 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.0007651/0.01535, allocations: 0.905 MB / 331.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.01584, allocations: 316.8 kB / 331.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01584, allocations: 0 / 331.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.01602, allocations: 105.2 kB / 331.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01623, allocations: 43.66 kB / 331.8 MB, free: 8.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.01905, allocations: 2.986 MB / 334.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.01913, allocations: 150.7 kB / 335 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.848e-05/0.0192, allocations: 30.22 kB / 335 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.0193, allocations: 80.47 kB / 335.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0193, allocations: 0 / 335.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.03854, allocations: 6.489 MB / 341.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.933, allocations: 6.75 kB / 341.6 MB, free: 14.65 MB / 314.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable der_.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,der_.c.v,der_.opAmp.out.v,der_.opAmp.out.i Variables in the result:time,der_.c.v [Calling sys.exit(0), Time elapsed: 8.71473012585193]