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.001098/0.001098, allocations: 173.3 kB / 16.76 MB, free: 4.93 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.367/1.367, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007605/0.0007604, allocations: 89.3 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.07926/0.07926, allocations: 12.59 MB / 332.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 19.98 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09873, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001558/0.1003, allocations: 1.242 MB / 444.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.1011, allocations: 0.5078 MB / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.1012, allocations: 0 / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.1013, allocations: 3.938 kB / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1014, allocations: 11.97 kB / 444.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1017, allocations: 43.84 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.1018, allocations: 35.86 kB / 444.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1019, allocations: 15.98 kB / 444.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.1019, allocations: 19.92 kB / 444.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.102, allocations: 19.86 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.102, allocations: 0 / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.1021, allocations: 4 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.1021, allocations: 11.98 kB / 444.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1021, allocations: 45.52 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.1022, allocations: 39.86 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1022, allocations: 4 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1022, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1023, allocations: 4 kB / 445 MB, free: 14.09 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.0004187/0.1027, allocations: 359.5 kB / 445.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1027, allocations: 12.03 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.1028, allocations: 8.844 kB / 445.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1029, allocations: 196.1 kB / 445.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.103, allocations: 4.375 kB / 445.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.103, allocations: 8.359 kB / 445.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1032, allocations: 113.4 kB / 445.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1033, allocations: 0 / 445.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1033, allocations: 0 / 445.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1033, allocations: 0 / 445.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.1034, allocations: 27.98 kB / 445.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.1036, allocations: 269.6 kB / 445.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.1037, allocations: 45.2 kB / 446 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.1038, allocations: 25.78 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1038, allocations: 7.875 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1038, allocations: 38.48 kB / 446.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1038, allocations: 0 / 446.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002181/0.1041, allocations: 73.62 kB / 446.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1041, allocations: 81.11 kB / 446.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.1042, allocations: 138.1 kB / 446.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1042, allocations: 29.7 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1043, allocations: 84.14 kB / 446.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.1043, allocations: 0 / 446.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1043, allocations: 0 / 446.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.1044, allocations: 327 kB / 446.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.1044, allocations: 4 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.1044, allocations: 25.7 kB / 446.8 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.1045, allocations: 41.64 kB / 446.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1045, allocations: 0 / 446.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.711e-05/0.1046, allocations: 57.59 kB / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1046, allocations: 4 kB / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1047, allocations: 4 kB / 446.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1047, allocations: 3.938 kB / 446.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.1048, allocations: 8.047 kB / 446.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1048, allocations: 4 kB / 446.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.1048, allocations: 4 kB / 446.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1048, allocations: 4 kB / 446.9 MB, free: 11.86 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 6.622e-05/0.1049, allocations: 125.5 kB / 447 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.1049, allocations: 37.61 kB / 447.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.105, allocations: 11.83 kB / 447.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.105, allocations: 0 / 447.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.105, allocations: 4.031 kB / 447.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.105, allocations: 7.984 kB / 447.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1051, allocations: 165.6 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1051, allocations: 3.984 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.1052, allocations: 8 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1052, allocations: 3.938 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1052, allocations: 0 / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1052, allocations: 0 / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1052, allocations: 0 / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1053, allocations: 172.2 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.1054, allocations: 96.94 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1054, allocations: 0 / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.1055, allocations: 4 kB / 447.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1055, allocations: 0 / 447.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1055, allocations: 12.03 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.1056, allocations: 111.2 kB / 447.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1056, allocations: 0 / 447.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.1058, allocations: 4 kB / 447.7 MB, free: 11 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.843e-05/0.1059, allocations: 95.19 kB / 447.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.106, allocations: 23.98 kB / 447.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.106, allocations: 4.125 kB / 447.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.106, allocations: 11.98 kB / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1064, allocations: 23.95 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.1067, allocations: 207.3 kB / 448 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.1068, allocations: 0.6926 MB / 448.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.1068, allocations: 11.44 kB / 448.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1068, allocations: 0 / 448.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of Templates: time 0.001769/0.1086, allocations: 0.7142 MB / 449.5 MB, free: 9.16 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