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.0008797/0.0008797, allocations: 79.7 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.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.000988/0.000988, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9193/0.9193, allocations: 177.1 MB / 204.2 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.293e-06/1.293e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.888e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001495/0.001514, allocations: 0.9573 MB / 325.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.001781, allocations: 123.5 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.001852, allocations: 7.938 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.001892, allocations: 3.938 kB / 325.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.002014, allocations: 11.92 kB / 325.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.002201, allocations: 39.84 kB / 325.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.002291, allocations: 43.84 kB / 325.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.002382, allocations: 16.19 kB / 325.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.002427, allocations: 23.91 kB / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.002474, allocations: 15.97 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.002497, allocations: 0 / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.002508, allocations: 4 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.002563, allocations: 11.94 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.002601, allocations: 19.92 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.002746, allocations: 47.8 kB / 325.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.00275, allocations: 8 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.002751, allocations: 0 / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.002755, allocations: 0 / 325.9 MB, free: 14.59 MB / 298.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.0003821/0.003138, allocations: 308.8 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.003178, allocations: 8.031 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.003207, allocations: 38.75 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.003231, allocations: 12.84 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.003426, allocations: 137.7 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.003435, allocations: 384 / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003445, allocations: 12.38 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.003679, allocations: 123.8 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.003687, allocations: 192 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.003695, allocations: 4.375 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.003702, allocations: 3.938 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.003738, allocations: 19.92 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.003862, allocations: 140.6 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.003984, allocations: 70.64 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.004033, allocations: 36.89 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.004046, allocations: 0 / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.004069, allocations: 34.56 kB / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.00407, allocations: 0 / 326.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001718/0.004242, allocations: 93.7 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.004294, allocations: 67.28 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/0.004394, allocations: 133.4 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.004407, allocations: 29.7 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.004442, allocations: 84.14 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.004456, allocations: 4 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.00449, allocations: 13.72 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.004583, allocations: 322.8 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.004598, allocations: 0 / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.004607, allocations: 4 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.004634, allocations: 12.86 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004635, allocations: 0 / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.815e-05/0.004684, allocations: 41.64 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004695, allocations: 4 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.0047, allocations: 3.938 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.004713, allocations: 12.03 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.004761, allocations: 0 / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004766, allocations: 0 / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.004777, allocations: 4 kB / 327.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.004782, allocations: 4 kB / 327.7 MB, free: 12.65 MB / 298.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 6.111e-05/0.004843, allocations: 113.8 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.004909, allocations: 69.64 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.004941, allocations: 16.77 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.004943, allocations: 3.938 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.004947, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.00495, allocations: 8 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.158e-05/0.005012, allocations: 128.8 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005014, allocations: 4 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.00506, allocations: 27.86 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.005061, allocations: 0 / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.005068, allocations: 0 / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.005071, allocations: 3.938 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005072, allocations: 0 / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.319e-05/0.005155, allocations: 101 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.005193, allocations: 19.88 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.005207, allocations: 4 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.005219, allocations: 11.94 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.005222, allocations: 0 / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.005226, allocations: 0 / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.005285, allocations: 107.2 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005285, allocations: 0 / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001266/0.005412, allocations: 8 kB / 328.3 MB, free: 11.96 MB / 298.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.0006707/0.006083, allocations: 0.6592 MB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.696e-05/0.00616, allocations: 16 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006161, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.006162, allocations: 4.125 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.006434, allocations: 58.67 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.007142, allocations: 1.184 MB / 330.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.064e-05/0.007213, allocations: 83.08 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.007232, allocations: 3.984 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.007285, allocations: 24.48 kB / 330.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007286, allocations: 3.938 kB / 330.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.02443, allocations: 2.333 MB / 332.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/6.974, allocations: 3.375 kB / 332.6 MB, free: 7.586 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 8.763521181419492]