Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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 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 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 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_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 100.6 kB / 16.45 MB, free: 6.441 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.001321/0.001321, allocations: 188.9 kB / 17.38 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 223.3 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08147/0.08147, allocations: 12.58 MB / 283.2 MB, free: 15.41 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 85.77 kB / 394.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 49.4 MB / 443.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.003493/0.1079, allocations: 1.535 MB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.109, allocations: 0.5346 MB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1092, allocations: 7.938 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.08e-05/0.1092, allocations: 3.938 kB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1094, allocations: 11.92 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1097, allocations: 51.83 kB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.1098, allocations: 47.78 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1099, allocations: 19.98 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.11, allocations: 27.84 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1101, allocations: 19.86 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1102, allocations: 4 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.1102, allocations: 4 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.139e-05/0.1102, allocations: 15.92 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.1103, allocations: 23.81 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1104, allocations: 55.69 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1104, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1104, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1104, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.1 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.0005685/0.111, allocations: 387 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1111, allocations: 12.03 kB / 446.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1111, allocations: 8.891 kB / 446.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1115, allocations: 204.1 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.1115, allocations: 384 / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1115, allocations: 8.375 kB / 446.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1118, allocations: 109.3 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1118, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1118, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1118, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.112, allocations: 19.98 kB / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1125, allocations: 273.6 kB / 446.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.271e-05/0.1126, allocations: 33.22 kB / 446.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1126, allocations: 29.77 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1127, allocations: 0 / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1127, allocations: 38.5 kB / 447 MB, free: 12.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1127, allocations: 0 / 447 MB, free: 12.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002581/0.113, allocations: 73.56 kB / 447.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.113, allocations: 77.11 kB / 447.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1132, allocations: 138.2 kB / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1132, allocations: 33.94 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.1133, allocations: 88.14 kB / 447.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1133, allocations: 7.891 kB / 447.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1133, allocations: 17.72 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1135, allocations: 318.8 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.1135, allocations: 8 kB / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.1136, allocations: 17.7 kB / 447.8 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/0.1137, allocations: 41.64 kB / 447.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1137, allocations: 0 / 447.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.1138, allocations: 53.64 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1138, allocations: 8 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1138, allocations: 0 / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1138, allocations: 0 / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1139, allocations: 16.05 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1139, allocations: 3.938 kB / 447.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.114, allocations: 4 kB / 447.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.114, allocations: 0 / 447.9 MB, free: 11.87 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/0.1141, allocations: 117.8 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.1142, allocations: 41.64 kB / 448.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1142, allocations: 19.81 kB / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1142, allocations: 0 / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1142, allocations: 4.031 kB / 448.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1142, allocations: 0 / 448.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1144, allocations: 173.6 kB / 448.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1144, allocations: 0 / 448.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.1145, allocations: 7.984 kB / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1145, allocations: 0 / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1145, allocations: 0 / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1145, allocations: 4 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1145, allocations: 3.938 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.1147, allocations: 160.3 kB / 448.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.1147, allocations: 93.06 kB / 448.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1148, allocations: 3.984 kB / 448.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.1148, allocations: 3.938 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1149, allocations: 4 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1149, allocations: 0 / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.697e-05/0.115, allocations: 112 kB / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.115, allocations: 0 / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1152, allocations: 7.938 kB / 448.6 MB, free: 11.02 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.1153, allocations: 95.25 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1155, allocations: 23.92 kB / 448.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1155, allocations: 4 kB / 448.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.1155, allocations: 7.984 kB / 448.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1159, allocations: 20.16 kB / 448.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.1162, allocations: 167.1 kB / 448.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.1167, allocations: 0.6885 MB / 449.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.041e-05/0.1168, allocations: 4 kB / 449.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.1168, allocations: 7.438 kB / 449.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1168, allocations: 4.094 kB / 449.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of Templates: time 0.00345/0.1203, allocations: 0.52 MB / 450.2 MB, free: 9.422 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches