Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 124.3 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 203.3 kB / 20.74 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002537/0.1111, allocations: 0.9601 MB / 427.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004023/0.1115, allocations: 111.6 kB / 427.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.1116, allocations: 4 kB / 427.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.771e-05/0.1116, allocations: 7.875 kB / 427.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1118, allocations: 3.938 kB / 427.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.112, allocations: 39.89 kB / 427.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1122, allocations: 43.84 kB / 427.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1123, allocations: 16.19 kB / 427.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.1123, allocations: 15.92 kB / 427.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.1124, allocations: 27.84 kB / 427.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1124, allocations: 4 kB / 427.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.1124, allocations: 4 kB / 427.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1125, allocations: 15.92 kB / 427.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.1125, allocations: 23.81 kB / 427.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1127, allocations: 59.72 kB / 427.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1127, allocations: 0 / 427.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1127, allocations: 4 kB / 427.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1127, allocations: 3.938 kB / 427.7 MB, free: 3.445 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000511/0.1132, allocations: 379 kB / 428 MB, free: 3.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1132, allocations: 12.03 kB / 428 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.1133, allocations: 38.75 kB / 428.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1133, allocations: 8.891 kB / 428.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1136, allocations: 192.3 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1136, allocations: 384 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1136, allocations: 12.31 kB / 428.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1139, allocations: 139.5 kB / 428.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1139, allocations: 0 / 428.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1139, allocations: 0 / 428.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1139, allocations: 4 kB / 428.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.114, allocations: 12 kB / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.1141, allocations: 177.5 kB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1143, allocations: 66.7 kB / 428.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.1143, allocations: 32.84 kB / 428.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1144, allocations: 4 kB / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1144, allocations: 38.5 kB / 428.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1144, allocations: 0 / 428.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001969/0.1146, allocations: 89.78 kB / 428.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.1146, allocations: 55.34 kB / 428.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1148, allocations: 140.5 kB / 429 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1148, allocations: 25.7 kB / 429.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1148, allocations: 92.12 kB / 429.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.1148, allocations: 4 kB / 429.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.1149, allocations: 21.72 kB / 429.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.115, allocations: 318.8 kB / 429.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.1151, allocations: 4 kB / 429.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.1151, allocations: 62.86 kB / 429.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.1152, allocations: 70.75 kB / 429.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1152, allocations: 0 / 429.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000137/0.1154, allocations: 97.38 kB / 429.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1154, allocations: 8.25 kB / 429.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1154, allocations: 8 kB / 429.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1154, allocations: 4 kB / 429.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.1155, allocations: 12 kB / 429.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.1155, allocations: 4 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.1155, allocations: 11.95 kB / 429.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1155, allocations: 4 kB / 429.8 MB, free: 1.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001005/0.1156, allocations: 121.8 kB / 429.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.993e-05/0.1157, allocations: 77.58 kB / 430 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1158, allocations: 12.72 kB / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1158, allocations: 0 / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1158, allocations: 4.188 kB / 430 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1158, allocations: 3.938 kB / 430 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1159, allocations: 177.5 kB / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1159, allocations: 0 / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.116, allocations: 23.86 kB / 430.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.116, allocations: 0 / 430.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.116, allocations: 4 kB / 430.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.116, allocations: 0 / 430.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.116, allocations: 0 / 430.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1161, allocations: 109 kB / 430.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.1162, allocations: 96.98 kB / 430.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1162, allocations: 0 / 430.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.1163, allocations: 4 kB / 430.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-06/0.1163, allocations: 0 / 430.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1163, allocations: 4 kB / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.1164, allocations: 103.3 kB / 430.5 MB, free: 232 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1164, allocations: 0 / 430.5 MB, free: 232 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1166, allocations: 8 kB / 430.5 MB, free: 224 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006058/0.1172, allocations: 0.6631 MB / 431.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1173, allocations: 44.84 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1173, allocations: 4.125 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1173, allocations: 0 / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1177, allocations: 40.22 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.119, allocations: 1.339 MB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1194, allocations: 0.7002 MB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.1194, allocations: 4 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.1194, allocations: 23.38 kB / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1194, allocations: 0 / 433.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.1423, allocations: 1.751 MB / 435.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.835, allocations: 0 / 435.1 MB, free: 11.59 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.624315741006285]