Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001744/0.001744, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001723/0.001723, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.518/1.518, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 365.7 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002393/0.1129, allocations: 0.965 MB / 418.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.1132, allocations: 115.5 kB / 418.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1133, allocations: 4 kB / 418.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.1134, allocations: 7.875 kB / 418.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1135, allocations: 7.922 kB / 418.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1137, allocations: 39.91 kB / 418.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1138, allocations: 39.91 kB / 419 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1139, allocations: 16.17 kB / 419 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.114, allocations: 23.86 kB / 419 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.114, allocations: 15.92 kB / 419 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.114, allocations: 7.938 kB / 419 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.114, allocations: 4 kB / 419 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.1141, allocations: 11.98 kB / 419 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1141, allocations: 27.75 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1143, allocations: 55.73 kB / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1143, allocations: 4 kB / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1143, allocations: 0 / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1143, allocations: 4 kB / 419.1 MB, free: 11.25 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.0004895/0.1148, allocations: 386.9 kB / 419.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1148, allocations: 8.031 kB / 419.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.1149, allocations: 42.73 kB / 419.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1149, allocations: 8.891 kB / 419.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1151, allocations: 188.3 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1152, allocations: 8.375 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1152, allocations: 8.375 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1154, allocations: 131.5 kB / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1154, allocations: 0 / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1155, allocations: 0 / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1155, allocations: 4 kB / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.1155, allocations: 19.98 kB / 419.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1157, allocations: 173.6 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1158, allocations: 66.64 kB / 420.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.1159, allocations: 36.83 kB / 420.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1159, allocations: 4 kB / 420.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1159, allocations: 42.5 kB / 420.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1159, allocations: 0 / 420.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002042/0.1161, allocations: 81.64 kB / 420.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1162, allocations: 59.34 kB / 420.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1163, allocations: 139.5 kB / 420.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1163, allocations: 25.7 kB / 420.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.1164, allocations: 88.08 kB / 420.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.1164, allocations: 11.95 kB / 420.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1164, allocations: 21.72 kB / 420.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1166, allocations: 322.8 kB / 421 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.1166, allocations: 4 kB / 421 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.1167, allocations: 54.86 kB / 421 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.1167, allocations: 74.75 kB / 421.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1167, allocations: 0 / 421.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001383/0.1169, allocations: 101.4 kB / 421.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1169, allocations: 8 kB / 421.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1169, allocations: 0 / 421.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1169, allocations: 7.984 kB / 421.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.117, allocations: 12 kB / 421.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.117, allocations: 7.984 kB / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.117, allocations: 4.25 kB / 421.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.117, allocations: 15.94 kB / 421.3 MB, free: 8.848 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 9.544e-05/0.1171, allocations: 114.5 kB / 421.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1172, allocations: 77.72 kB / 421.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.1173, allocations: 12.72 kB / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1173, allocations: 0 / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1173, allocations: 0 / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1173, allocations: 4 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.1174, allocations: 177.5 kB / 421.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1174, allocations: 0 / 421.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.1175, allocations: 23.88 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1175, allocations: 3.984 kB / 421.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1175, allocations: 4 kB / 421.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1175, allocations: 4 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1175, allocations: 3.938 kB / 421.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1176, allocations: 93.08 kB / 421.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1177, allocations: 101 kB / 421.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1177, allocations: 0 / 421.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.1177, allocations: 8 kB / 421.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-06/0.1177, allocations: 0 / 421.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1177, allocations: 4 kB / 421.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.998e-05/0.1178, allocations: 109 kB / 422 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1178, allocations: 192 / 422 MB, free: 8.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.118, allocations: 4 kB / 422 MB, free: 8.016 MB / 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.0005525/0.1186, allocations: 0.6747 MB / 422.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.1187, allocations: 48.39 kB / 422.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1187, allocations: 0 / 422.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1187, allocations: 0 / 422.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.119, allocations: 35.95 kB / 422.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1203, allocations: 1.343 MB / 424.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1207, allocations: 0.6963 MB / 424.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.648e-05/0.1207, allocations: 7.938 kB / 424.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.1207, allocations: 23.42 kB / 424.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1207, allocations: 0 / 424.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.1466, allocations: 1.741 MB / 426.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.193, allocations: 14.67 kB / 426.6 MB, free: 3.367 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.760522918775678]