Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000904/0.0009038, allocations: 175.5 kB / 16.45 MB, free: 5.684 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.308/1.308, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0006978/0.0006979, allocations: 87.8 kB / 270.9 MB, free: 8.359 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.07021/0.07021, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005785, allocations: 16 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001789/0.108, allocations: 1.238 MB / 443.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.109, allocations: 0.5156 MB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.1091, allocations: 0 / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.1091, allocations: 3.938 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1092, allocations: 7.938 kB / 444.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1095, allocations: 43.83 kB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.1097, allocations: 39.86 kB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1098, allocations: 19.97 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.1099, allocations: 19.92 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.1099, allocations: 11.88 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1099, allocations: 4 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.11, allocations: 0 / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.11, allocations: 15.92 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.11, allocations: 33.7 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.01e-05/0.1101, allocations: 35.88 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1101, allocations: 3.984 kB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1101, allocations: 4 kB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1101, allocations: 4 kB / 444.4 MB, free: 14.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000369/0.1105, allocations: 367.2 kB / 444.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1106, allocations: 12.03 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.1106, allocations: 7.906 kB / 444.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1107, allocations: 186.9 kB / 444.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1108, allocations: 4 kB / 444.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1108, allocations: 0 / 444.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.111, allocations: 117 kB / 445 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.111, allocations: 0 / 445 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1111, allocations: 0 / 445 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1111, allocations: 0 / 445 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.1111, allocations: 27.92 kB / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.1114, allocations: 257.8 kB / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.1115, allocations: 57.14 kB / 445.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.1116, allocations: 17.78 kB / 445.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1116, allocations: 0 / 445.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.1116, allocations: 38.5 kB / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1116, allocations: 0 / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002383/0.1119, allocations: 77.61 kB / 445.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1119, allocations: 77.11 kB / 445.6 MB, free: 13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.112, allocations: 142.1 kB / 445.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.112, allocations: 29.7 kB / 445.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.1121, allocations: 92.08 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.1121, allocations: 3.906 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1121, allocations: 160 / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.1121, allocations: 322.8 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.1122, allocations: 8 kB / 446.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.1122, allocations: 25.64 kB / 446.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.1123, allocations: 16.06 kB / 446.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1123, allocations: 0 / 446.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.98e-05/0.1124, allocations: 61.61 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1124, allocations: 8 kB / 446.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1124, allocations: 4 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1124, allocations: 3.984 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.1125, allocations: 7.938 kB / 446.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1125, allocations: 7.953 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.1126, allocations: 8.047 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1126, allocations: 4 kB / 446.3 MB, free: 12.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.1126, allocations: 118.5 kB / 446.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.1127, allocations: 37.61 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.1127, allocations: 15.81 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1127, allocations: 4 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1127, allocations: 0 / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.1127, allocations: 3.953 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1129, allocations: 165.7 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1129, allocations: 0 / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.1129, allocations: 8 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1129, allocations: 3.984 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.113, allocations: 3.938 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.113, allocations: 0 / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.113, allocations: 4 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1131, allocations: 164.3 kB / 446.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1131, allocations: 96.94 kB / 446.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1132, allocations: 4 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.1132, allocations: 3.984 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1133, allocations: 4 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1133, allocations: 0 / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.1133, allocations: 115.2 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1133, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.1135, allocations: 4 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 6.752e-05/0.1136, allocations: 95.19 kB / 447.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1138, allocations: 23.98 kB / 447.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1138, allocations: 0 / 447.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.1138, allocations: 12.12 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1142, allocations: 20.02 kB / 447.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.1144, allocations: 215.4 kB / 447.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.1146, allocations: 0.6848 MB / 448.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.1146, allocations: 11.44 kB / 448.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1146, allocations: 3.938 kB / 448.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Templates: time 0.001693/0.1163, allocations: 0.7154 MB / 448.8 MB, free: 9.539 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches