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.001372/0.001372, allocations: 116 kB / 17.78 MB, free: 5.289 MB / 14.72 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.001359/0.001359, allocations: 190.9 kB / 20.73 MB, free: 2.352 MB / 14.72 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 1.468/1.468, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001554/0.001554, allocations: 55.91 kB / 365.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1029, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004144/0.107, allocations: 2.874 MB / 420.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1083, allocations: 0.7207 MB / 421.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1085, allocations: 4 kB / 421.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1086, allocations: 47.52 kB / 421.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1088, allocations: 99.23 kB / 421.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1091, allocations: 111.8 kB / 421.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.1095, allocations: 402.5 kB / 422.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1097, allocations: 79.3 kB / 422.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.1099, allocations: 163.3 kB / 422.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.1101, allocations: 163.3 kB / 422.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.1102, allocations: 36 kB / 422.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.1103, allocations: 40 kB / 422.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.1103, allocations: 79.73 kB / 422.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1105, allocations: 163.2 kB / 422.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1109, allocations: 422.4 kB / 423.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1109, allocations: 0 / 423.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.111, allocations: 8 kB / 423.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.111, allocations: 0 / 423.2 MB, free: 7.176 MB / 350.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.001293/0.1123, allocations: 0.6612 MB / 423.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1123, allocations: 12.03 kB / 423.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.132e-05/0.1124, allocations: 58.73 kB / 423.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.1124, allocations: 40.64 kB / 424 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.1128, allocations: 296.8 kB / 424.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1129, allocations: 20.94 kB / 424.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.1129, allocations: 24.38 kB / 424.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.1136, allocations: 323.7 kB / 424.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1136, allocations: 0 / 424.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1137, allocations: 4 kB / 424.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.1137, allocations: 8 kB / 424.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.1145, allocations: 274.1 kB / 424.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.1163, allocations: 1.108 MB / 426 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.1172, allocations: 250.5 kB / 426.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.1175, allocations: 96.78 kB / 426.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1175, allocations: 0 / 426.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.118, allocations: 169 kB / 426.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.118, allocations: 0 / 426.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001116/0.1191, allocations: 325.2 kB / 426.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1192, allocations: 81.09 kB / 426.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1195, allocations: 266.5 kB / 427.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1195, allocations: 29.7 kB / 427.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1196, allocations: 203.9 kB / 427.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1197, allocations: 43.69 kB / 427.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.1198, allocations: 49.66 kB / 427.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1199, allocations: 330.8 kB / 427.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.1203, allocations: 100.2 kB / 427.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.1207, allocations: 196.8 kB / 428.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.1214, allocations: 309.8 kB / 428.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1214, allocations: 0 / 428.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000927/0.1224, allocations: 363.1 kB / 428.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.1224, allocations: 37.69 kB / 428.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1224, allocations: 0 / 428.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1224, allocations: 4 kB / 428.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1228, allocations: 67.89 kB / 428.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1228, allocations: 8.062 kB / 428.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.1231, allocations: 59.66 kB / 428.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1231, allocations: 8 kB / 428.9 MB, free: 1.059 MB / 350.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.0001565/0.1232, allocations: 141.8 kB / 429.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1233, allocations: 23.86 kB / 429.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.1233, allocations: 25.64 kB / 429.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1233, allocations: 4 kB / 429.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1234, allocations: 4 kB / 429.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1234, allocations: 3.938 kB / 429.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1237, allocations: 313.4 kB / 429.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1237, allocations: 0 / 429.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.1239, allocations: 39.95 kB / 429.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1239, allocations: 4 kB / 429.5 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.124, allocations: 7.984 kB / 429.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.124, allocations: 4 kB / 429.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.124, allocations: 4 kB / 429.5 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.1251, allocations: 377 kB / 429.9 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1252, allocations: 104.9 kB / 430 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.1252, allocations: 0 / 430 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1254, allocations: 31.95 kB / 430 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.1255, allocations: 23.98 kB / 430 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1255, allocations: 4 kB / 430 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.1257, allocations: 190 kB / 430.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1257, allocations: 0 / 430.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.126, allocations: 63.89 kB / 430.3 MB, free: 15.62 MB / 366.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.00148/0.1275, allocations: 0.9089 MB / 431.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.1283, allocations: 281.7 kB / 431.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1283, allocations: 4.062 kB / 431.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1287, allocations: 91.94 kB / 431.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.129, allocations: 56.38 kB / 431.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.134, allocations: 2.9 MB / 434.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1344, allocations: 0.7557 MB / 435.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1346, allocations: 30.28 kB / 435.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1347, allocations: 79.41 kB / 435.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1347, allocations: 0 / 435.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.1662, allocations: 5.549 MB / 440.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.317, allocations: 10.91 kB / 440.9 MB, free: 4.875 MB / 366.1 MB " [Timeout remaining time 652] (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/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) [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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.967189118266106]