Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 171.1 kB / 16.76 MB, free: 4.906 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 89.34 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1271/0.1271, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.00043, allocations: 16 kB / 392.6 MB, free: 66.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 50.38 MB / 443 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001182/0.1057, allocations: 0.6511 MB / 443.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.106, allocations: 115.7 kB / 443.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.1061, allocations: 0 / 443.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.1061, allocations: 0 / 443.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1063, allocations: 11.92 kB / 443.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1065, allocations: 31.91 kB / 443.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.1066, allocations: 31.92 kB / 443.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1067, allocations: 20.17 kB / 443.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.1067, allocations: 19.88 kB / 443.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.1068, allocations: 15.86 kB / 443.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1068, allocations: 0 / 443.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.1068, allocations: 0 / 443.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1069, allocations: 15.88 kB / 443.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.1069, allocations: 53.55 kB / 443.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.854e-05/0.107, allocations: 31.89 kB / 444 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.107, allocations: 0 / 444 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.107, allocations: 0 / 444 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.107, allocations: 0 / 444 MB, free: 15.11 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.0003731/0.1074, allocations: 367.5 kB / 444.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1075, allocations: 16.02 kB / 444.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1075, allocations: 12.84 kB / 444.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1077, allocations: 188.7 kB / 444.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1077, allocations: 8.375 kB / 444.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1077, allocations: 384 / 444.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1079, allocations: 131.8 kB / 444.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.108, allocations: 3.938 kB / 444.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.108, allocations: 7.984 kB / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.108, allocations: 0 / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.108, allocations: 12 kB / 444.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.1082, allocations: 169.7 kB / 444.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1083, allocations: 70.69 kB / 444.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.1083, allocations: 40.84 kB / 445 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1084, allocations: 0 / 445 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.1084, allocations: 30.56 kB / 445 MB, free: 13.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1084, allocations: 0 / 445 MB, free: 13.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001711/0.1086, allocations: 89.53 kB / 445.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1086, allocations: 59.34 kB / 445.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.1087, allocations: 135.7 kB / 445.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.1087, allocations: 29.7 kB / 445.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.1088, allocations: 84.14 kB / 445.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1088, allocations: 11.89 kB / 445.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1088, allocations: 4 kB / 445.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.1088, allocations: 310.8 kB / 445.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.1089, allocations: 15.98 kB / 445.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.1089, allocations: 59.12 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.109, allocations: 74.73 kB / 445.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.109, allocations: 0 / 445.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001061/0.1091, allocations: 85.5 kB / 445.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1091, allocations: 11.94 kB / 445.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1091, allocations: 0 / 445.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1091, allocations: 8.25 kB / 446 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.1092, allocations: 15.98 kB / 446 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1092, allocations: 7.984 kB / 446 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.1093, allocations: 7.906 kB / 446 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1093, allocations: 11.88 kB / 446 MB, free: 12.8 MB / 298.7 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 6.475e-05/0.1094, allocations: 129.5 kB / 446.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.1094, allocations: 77.67 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.1095, allocations: 16.7 kB / 446.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1095, allocations: 0 / 446.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1095, allocations: 4 kB / 446.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1095, allocations: 0 / 446.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.744e-05/0.1096, allocations: 169.7 kB / 446.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1096, allocations: 0 / 446.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.1096, allocations: 19.92 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1097, allocations: 7.938 kB / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1097, allocations: 0 / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1097, allocations: 0 / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1097, allocations: 0 / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1098, allocations: 105 kB / 446.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1098, allocations: 96.94 kB / 446.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1099, allocations: 4 kB / 446.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.1099, allocations: 0 / 446.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-06/0.1099, allocations: 0 / 446.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1099, allocations: 4 kB / 446.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.367e-05/0.11, allocations: 105.9 kB / 446.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.11, allocations: 0 / 446.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.1102, allocations: 12 kB / 446.7 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 (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 7.686e-05/0.1102, allocations: 99.19 kB / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1104, allocations: 39.92 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1104, allocations: 0 / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1104, allocations: 4 kB / 446.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1107, allocations: 47.94 kB / 446.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.111, allocations: 209.5 kB / 447.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.1112, allocations: 0.7005 MB / 447.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1112, allocations: 11.44 kB / 447.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1112, allocations: 3.938 kB / 447.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of Templates: time 0.001893/0.1131, allocations: 0.797 MB / 448.6 MB, free: 9.988 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches