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.0008363/0.0008363, allocations: 76.08 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.001182/0.001182, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.9459/0.9459, allocations: 173.4 MB / 200.4 MB, free: 9.438 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.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 1.864e-06/1.864e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.902e-05, allocations: 2.281 kB / 318.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002209/0.002228, allocations: 0.9466 MB / 319.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003828/0.002611, allocations: 119.5 kB / 319.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.002704, allocations: 4 kB / 319.5 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.822e-05/0.002752, allocations: 3.938 kB / 319.5 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.002915, allocations: 15.86 kB / 319.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.003164, allocations: 39.78 kB / 319.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.003279, allocations: 39.91 kB / 319.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003388, allocations: 20.16 kB / 319.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.00344, allocations: 27.91 kB / 319.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.003485, allocations: 11.92 kB / 319.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.003512, allocations: 4 kB / 319.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.003523, allocations: 8 kB / 319.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.003573, allocations: 15.94 kB / 319.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.003609, allocations: 15.92 kB / 319.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.003737, allocations: 51.8 kB / 319.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00374, allocations: 0 / 319.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003741, allocations: 0 / 319.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.003745, allocations: 0 / 319.8 MB, free: 5.051 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004226/0.004168, allocations: 309.9 kB / 320.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.00421, allocations: 8.922 kB / 320.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.004251, allocations: 42.73 kB / 320.1 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.00428, allocations: 8.891 kB / 320.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.00449, allocations: 132.7 kB / 320.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004502, allocations: 4.375 kB / 320.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.004513, allocations: 4.375 kB / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.004794, allocations: 131.7 kB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.004803, allocations: 192 / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.004812, allocations: 384 / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.004821, allocations: 11.94 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.004865, allocations: 19.98 kB / 320.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.005001, allocations: 136.7 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.005142, allocations: 66.69 kB / 320.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.005202, allocations: 28.86 kB / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.005213, allocations: 0 / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.005238, allocations: 42.55 kB / 320.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.005239, allocations: 0 / 320.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002072/0.005447, allocations: 93.67 kB / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.005504, allocations: 59.66 kB / 320.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.005616, allocations: 137.8 kB / 321 MB, free: 3.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.005629, allocations: 25.7 kB / 321 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.005671, allocations: 84.14 kB / 321.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005686, allocations: 3.984 kB / 321.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.005718, allocations: 17.72 kB / 321.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.00581, allocations: 314.8 kB / 321.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.005823, allocations: 4 kB / 321.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.005832, allocations: 4 kB / 321.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.005857, allocations: 8.797 kB / 321.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.005859, allocations: 4 kB / 321.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.578e-05/0.005925, allocations: 49.7 kB / 321.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005938, allocations: 7.938 kB / 321.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005943, allocations: 3.938 kB / 321.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.005957, allocations: 3.938 kB / 321.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.006002, allocations: 4 kB / 321.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006008, allocations: 3.984 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.006022, allocations: 0 / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.006028, allocations: 4 kB / 321.5 MB, free: 3.109 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.546e-05/0.006103, allocations: 117.8 kB / 321.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.006181, allocations: 69.69 kB / 321.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.006214, allocations: 16.77 kB / 321.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.006218, allocations: 3.938 kB / 321.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006222, allocations: 0 / 321.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.006225, allocations: 0 / 321.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.295e-05/0.006318, allocations: 140.7 kB / 321.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006319, allocations: 0 / 321.9 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.006378, allocations: 19.94 kB / 321.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.00638, allocations: 0 / 321.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.006387, allocations: 0 / 321.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.00639, allocations: 3.938 kB / 321.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006391, allocations: 4 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.006499, allocations: 105.1 kB / 322 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.006539, allocations: 19.88 kB / 322 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.006553, allocations: 0 / 322 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.00657, allocations: 7.938 kB / 322 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-06/0.006574, allocations: 3.984 kB / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.006577, allocations: 0 / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.006637, allocations: 111.8 kB / 322.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006637, allocations: 0 / 322.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.006815, allocations: 8 kB / 322.1 MB, free: 2.41 MB / 282.7 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.0003666/0.007182, allocations: 0.6631 MB / 322.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.007265, allocations: 16 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007267, allocations: 0 / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.007267, allocations: 0 / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.007565, allocations: 46.48 kB / 322.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.008391, allocations: 1.2 MB / 324.1 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.008459, allocations: 83.33 kB / 324.1 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.008476, allocations: 8.141 kB / 324.1 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.008519, allocations: 16.5 kB / 324.2 MB, free: 256 kB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.00852, allocations: 0 / 324.2 MB, free: 256 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.02553, allocations: 2.33 MB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.734, allocations: 4.062 kB / 326.5 MB, free: 14.04 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 8.612737854011357]