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.0009037/0.0009039, allocations: 85.83 kB / 16.31 MB, free: 6.449 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.00117/0.00117, allocations: 180.8 kB / 17.21 MB, free: 6.32 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.477/1.477, allocations: 223.3 MB / 241.2 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.000318, allocations: 6.156 kB / 300.8 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1005, allocations: 50.43 MB / 351.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001195/0.1018, allocations: 0.6399 MB / 351.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.1021, allocations: 131.5 kB / 352 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.1022, allocations: 4 kB / 352 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.1023, allocations: 3.938 kB / 352 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.1024, allocations: 3.938 kB / 352 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1027, allocations: 27.97 kB / 352.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.1028, allocations: 43.84 kB / 352.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.1029, allocations: 20.45 kB / 352.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.1029, allocations: 11.92 kB / 352.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.103, allocations: 11.88 kB / 352.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.103, allocations: 0 / 352.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.103, allocations: 0 / 352.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.103, allocations: 15.98 kB / 352.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1031, allocations: 33.64 kB / 352.2 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.713e-05/0.1032, allocations: 39.88 kB / 352.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1032, allocations: 0 / 352.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1032, allocations: 0 / 352.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1032, allocations: 4 kB / 352.2 MB, free: 10.74 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.0004157/0.1036, allocations: 362.1 kB / 352.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1037, allocations: 12.03 kB / 352.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1037, allocations: 19.75 kB / 352.6 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1039, allocations: 189.3 kB / 352.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1039, allocations: 7.938 kB / 352.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1039, allocations: 4 kB / 352.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.1042, allocations: 123.3 kB / 352.9 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1042, allocations: 3.984 kB / 352.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1042, allocations: 7.984 kB / 352.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1042, allocations: 3.953 kB / 353 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.1043, allocations: 15.94 kB / 353 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.1044, allocations: 165.7 kB / 353.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1046, allocations: 70.75 kB / 353.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.1047, allocations: 36.86 kB / 353.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1047, allocations: 7.922 kB / 353.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1047, allocations: 30.56 kB / 353.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1047, allocations: 3.938 kB / 353.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002015/0.1049, allocations: 89.73 kB / 353.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.105, allocations: 63.67 kB / 353.4 MB, free: 9.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1051, allocations: 133.9 kB / 353.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1051, allocations: 29.7 kB / 353.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.1052, allocations: 84.14 kB / 353.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.1052, allocations: 7.984 kB / 353.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.1052, allocations: 0 / 353.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1053, allocations: 318.8 kB / 354 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.1054, allocations: 15.98 kB / 354 MB, free: 8.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.1054, allocations: 58.81 kB / 354.1 MB, free: 8.676 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.1055, allocations: 12 kB / 354.1 MB, free: 8.664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1055, allocations: 4 kB / 354.1 MB, free: 8.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001334/0.1056, allocations: 93.39 kB / 354.2 MB, free: 8.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1056, allocations: 8 kB / 354.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1056, allocations: 0 / 354.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1057, allocations: 4 kB / 354.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.1058, allocations: 19.98 kB / 354.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.1058, allocations: 12.17 kB / 354.2 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.1058, allocations: 11.89 kB / 354.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1058, allocations: 8 kB / 354.2 MB, free: 8.5 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 0.0001284/0.106, allocations: 117.8 kB / 354.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1061, allocations: 69.59 kB / 354.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.1061, allocations: 12.72 kB / 354.4 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1062, allocations: 0 / 354.4 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1062, allocations: 3.938 kB / 354.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1062, allocations: 3.984 kB / 354.4 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.1063, allocations: 177.5 kB / 354.6 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1064, allocations: 4 kB / 354.6 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.1064, allocations: 15.98 kB / 354.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1064, allocations: 0 / 354.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1065, allocations: 0 / 354.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1065, allocations: 0 / 354.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1065, allocations: 0 / 354.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1066, allocations: 105.2 kB / 354.7 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1067, allocations: 93 kB / 354.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1068, allocations: 11.94 kB / 354.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.1068, allocations: 0 / 354.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-06/0.1068, allocations: 0 / 354.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1068, allocations: 3.938 kB / 354.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.1069, allocations: 109 kB / 354.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1069, allocations: 0 / 354.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.1071, allocations: 12 kB / 355 MB, free: 7.672 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.0001159/0.1072, allocations: 95.25 kB / 355 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1074, allocations: 47.86 kB / 355.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1074, allocations: 0 / 355.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1074, allocations: 0 / 355.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1077, allocations: 51.91 kB / 355.1 MB, free: 7.473 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.1081, allocations: 179.8 kB / 355.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1084, allocations: 0.7004 MB / 356 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.1084, allocations: 0 / 356 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1085, allocations: 11.44 kB / 356 MB, free: 6.527 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1085, allocations: 0 / 356 MB, free: 6.527 MB / 286.1 MB Notification: Performance of Templates: time 0.003268/0.1117, allocations: 0.5471 MB / 356.6 MB, free: 5.984 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","/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) Reference file matches