Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008147/0.0008147, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8667/0.8667, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.281e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001582/0.001605, allocations: 0.9675 MB / 325.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000313/0.001918, allocations: 115.7 kB / 325.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.001993, allocations: 0 / 325.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.002039, allocations: 11.86 kB / 325.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.002169, allocations: 7.938 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.002381, allocations: 39.83 kB / 325.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.002476, allocations: 35.92 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.00285, allocations: 24.16 kB / 325.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.002898, allocations: 19.92 kB / 325.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.002942, allocations: 19.86 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.002966, allocations: 4 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.002975, allocations: 0 / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.003026, allocations: 19.92 kB / 325.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.003057, allocations: 11.98 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003168, allocations: 51.73 kB / 325.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.003172, allocations: 4 kB / 325.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.003173, allocations: 4 kB / 325.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.003178, allocations: 0 / 325.9 MB, free: 14.56 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.0003812/0.003559, allocations: 298 kB / 326.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.003607, allocations: 11.98 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.003643, allocations: 42.73 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.003673, allocations: 12.84 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.003881, allocations: 129.7 kB / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.003891, allocations: 384 / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.0039, allocations: 4.375 kB / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.004147, allocations: 135.8 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.004155, allocations: 192 / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.004168, allocations: 4.375 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004173, allocations: 3.938 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.004207, allocations: 12 kB / 326.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.004336, allocations: 152.6 kB / 326.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.004494, allocations: 54.72 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.004554, allocations: 44.88 kB / 326.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.004565, allocations: 0 / 326.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.004587, allocations: 34.72 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.004588, allocations: 0 / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001941/0.004782, allocations: 97.48 kB / 326.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.004835, allocations: 55.41 kB / 326.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.004937, allocations: 136.8 kB / 327.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.00495, allocations: 33.64 kB / 327.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.004993, allocations: 88.12 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.005006, allocations: 4 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.005034, allocations: 13.72 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.005137, allocations: 318.8 kB / 327.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.005151, allocations: 3.984 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-06/0.005161, allocations: 8 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.005187, allocations: 16.8 kB / 327.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005189, allocations: 0 / 327.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.095e-05/0.00524, allocations: 37.66 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.005255, allocations: 8 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.005261, allocations: 0 / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.005276, allocations: 4.031 kB / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.005325, allocations: 7.938 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.005332, allocations: 4 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.005344, allocations: 3.984 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005349, allocations: 0 / 327.6 MB, free: 12.62 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 7.249e-05/0.005421, allocations: 113.8 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.005492, allocations: 77.58 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.005523, allocations: 12.78 kB / 327.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.005527, allocations: 7.938 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.005531, allocations: 0 / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005534, allocations: 0 / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.777e-05/0.005602, allocations: 136.7 kB / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.005603, allocations: 0 / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.005648, allocations: 12 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005649, allocations: 0 / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.005657, allocations: 4 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.00566, allocations: 11.92 kB / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.005661, allocations: 0 / 328 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.651e-05/0.005748, allocations: 105 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.005783, allocations: 19.88 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.005796, allocations: 4 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.005808, allocations: 7.938 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-06/0.005811, allocations: 4 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.005815, allocations: 0 / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.729e-05/0.005862, allocations: 103.3 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005862, allocations: 0 / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001228/0.005985, allocations: 8 kB / 328.2 MB, free: 11.93 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.0003278/0.006313, allocations: 0.6515 MB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.006403, allocations: 23.92 kB / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.006405, allocations: 0 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.006406, allocations: 128 / 328.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.006676, allocations: 61.95 kB / 328.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.007472, allocations: 1.193 MB / 330.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.007543, allocations: 87.06 kB / 330.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.007564, allocations: 4.125 kB / 330.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.007615, allocations: 16.5 kB / 330.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.007616, allocations: 0 / 330.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.02606, allocations: 2.334 MB / 332.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.712, allocations: 0 / 332.6 MB, free: 7.535 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.424855909310281]