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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009801, allocations: 94.39 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 185.7 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.000283, allocations: 10.88 kB / 300.7 MB, free: 5.945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.09996, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001289/0.1013, allocations: 0.6438 MB / 351.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.1016, allocations: 119.6 kB / 351.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1017, allocations: 4 kB / 351.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.1018, allocations: 11.86 kB / 351.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1019, allocations: 4 kB / 351.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1021, allocations: 31.91 kB / 352 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.073e-05/0.1022, allocations: 23.97 kB / 352 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1024, allocations: 16.45 kB / 352 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.1024, allocations: 11.94 kB / 352 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.1025, allocations: 19.84 kB / 352 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1025, allocations: 4 kB / 352 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1025, allocations: 4 kB / 352 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.1026, allocations: 11.94 kB / 352 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1026, allocations: 29.7 kB / 352.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.1027, allocations: 43.86 kB / 352.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.1027, allocations: 0 / 352.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1027, allocations: 3.938 kB / 352.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1027, allocations: 0 / 352.1 MB, free: 10.73 MB / 286.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.0004777/0.1032, allocations: 359.1 kB / 352.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1033, allocations: 12.03 kB / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1033, allocations: 19.77 kB / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1035, allocations: 186.9 kB / 352.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1036, allocations: 4 kB / 352.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1036, allocations: 4 kB / 352.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.1039, allocations: 123.2 kB / 352.8 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1039, allocations: 7.938 kB / 352.8 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1039, allocations: 4 kB / 352.8 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1039, allocations: 7.953 kB / 352.8 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.1039, allocations: 12 kB / 352.8 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1041, allocations: 173.6 kB / 353 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1043, allocations: 66.66 kB / 353.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1043, allocations: 4 kB / 353.1 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1043, allocations: 30.56 kB / 353.1 MB, free: 9.566 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1043, allocations: 0 / 353.1 MB, free: 9.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002009/0.1045, allocations: 89.78 kB / 353.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1046, allocations: 59.39 kB / 353.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1047, allocations: 147.8 kB / 353.4 MB, free: 9.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1047, allocations: 29.69 kB / 353.4 MB, free: 9.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.1048, allocations: 84.14 kB / 353.5 MB, free: 9.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.1048, allocations: 8 kB / 353.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1048, allocations: 4 kB / 353.5 MB, free: 9.117 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1049, allocations: 314.8 kB / 353.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.105, allocations: 12 kB / 353.8 MB, free: 8.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.105, allocations: 54.86 kB / 353.9 MB, free: 8.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.1051, allocations: 19.94 kB / 353.9 MB, free: 8.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1051, allocations: 0 / 353.9 MB, free: 8.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001242/0.1052, allocations: 89.59 kB / 354 MB, free: 8.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1052, allocations: 8 kB / 354 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1052, allocations: 0 / 354 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1053, allocations: 4 kB / 354 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.1053, allocations: 19.92 kB / 354 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1053, allocations: 4 kB / 354 MB, free: 8.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.1054, allocations: 11.89 kB / 354.1 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1054, allocations: 8 kB / 354.1 MB, free: 8.543 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.1055, allocations: 118 kB / 354.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.1056, allocations: 73.86 kB / 354.2 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.1057, allocations: 16.7 kB / 354.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1057, allocations: 0 / 354.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1057, allocations: 0 / 354.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1057, allocations: 4 kB / 354.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1058, allocations: 173.5 kB / 354.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1058, allocations: 192 / 354.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.1059, allocations: 19.98 kB / 354.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1059, allocations: 3.938 kB / 354.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1059, allocations: 4 kB / 354.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1059, allocations: 7.938 kB / 354.5 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1059, allocations: 80 / 354.5 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.1061, allocations: 104.9 kB / 354.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.1062, allocations: 97 kB / 354.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1062, allocations: 0 / 354.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.1062, allocations: 4 kB / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.1062, allocations: 3.984 kB / 354.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.1062, allocations: 4 kB / 354.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.1063, allocations: 105.1 kB / 354.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1063, allocations: 0 / 354.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.1065, allocations: 8 kB / 354.8 MB, free: 7.707 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.1066, allocations: 95.25 kB / 354.9 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1067, allocations: 47.84 kB / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1068, allocations: 0.5 kB / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1068, allocations: 0 / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1071, allocations: 51.97 kB / 355 MB, free: 7.508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.1074, allocations: 175.3 kB / 355.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1076, allocations: 0.7004 MB / 355.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.222e-05/0.1077, allocations: 7.984 kB / 355.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.1077, allocations: 11.44 kB / 355.9 MB, free: 6.559 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1077, allocations: 0 / 355.9 MB, free: 6.559 MB / 286.1 MB Notification: Performance of Templates: time 0.002521/0.1102, allocations: 0.5476 MB / 356.4 MB, free: 6.016 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches