Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007109/0.0007109, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008188/0.0008191, allocations: 181.6 kB / 16.97 MB, free: 6.879 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.202/1.202, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06416/0.06416, allocations: 12.6 MB / 284 MB, free: 8.582 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.0006313/0.0006313, allocations: 24.94 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07327/0.07391, allocations: 50.39 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample): time 0.001563/0.07551, allocations: 1.27 MB / 396.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.07621, allocations: 0.5114 MB / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.07628, allocations: 0 / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.07632, allocations: 7.922 kB / 397.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.07642, allocations: 11.94 kB / 397.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.07665, allocations: 35.89 kB / 397.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.07673, allocations: 47.8 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.07682, allocations: 12.19 kB / 397.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.07689, allocations: 31.91 kB / 397.5 MB, free: 484 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.07694, allocations: 15.86 kB / 397.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.07696, allocations: 0 / 397.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.07697, allocations: 4 kB / 397.5 MB, free: 464 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.07702, allocations: 11.94 kB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.07707, allocations: 49.5 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.345e-05/0.07715, allocations: 39.81 kB / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.07716, allocations: 0 / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.07716, allocations: 0 / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.07717, allocations: 4 kB / 397.6 MB, free: 352 kB / 286.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.0003916/0.07757, allocations: 379.3 kB / 398 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.07761, allocations: 12.03 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.07764, allocations: 8.844 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.07781, allocations: 196.1 kB / 398.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.07783, allocations: 4.375 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.07784, allocations: 4.375 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.07807, allocations: 117.2 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.07808, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.0781, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.07811, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.07819, allocations: 27.92 kB / 398.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.0785, allocations: 265.8 kB / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.0786, allocations: 49.12 kB / 398.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.07867, allocations: 25.78 kB / 398.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.07869, allocations: 0 / 398.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.07872, allocations: 34.55 kB / 398.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.07872, allocations: 0 / 398.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.07896, allocations: 81.69 kB / 398.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.07901, allocations: 81.11 kB / 398.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.07913, allocations: 145.5 kB / 399 MB, free: 14.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.07914, allocations: 25.7 kB / 399 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.07919, allocations: 92.14 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.07921, allocations: 7.891 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.07923, allocations: 9.719 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.07935, allocations: 322.8 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.07939, allocations: 15.95 kB / 399.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.07943, allocations: 17.72 kB / 399.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.07952, allocations: 37.77 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.07953, allocations: 0 / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001083/0.07964, allocations: 57.62 kB / 399.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.07966, allocations: 11.98 kB / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.07967, allocations: 0 / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.07968, allocations: 0 / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.07974, allocations: 4 kB / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.07976, allocations: 64 / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.0798, allocations: 8 kB / 399.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.07982, allocations: 4 kB / 399.6 MB, free: 14.07 MB / 302.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 6.582e-05/0.07989, allocations: 121.8 kB / 399.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.07995, allocations: 37.55 kB / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.07998, allocations: 15.86 kB / 399.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.07998, allocations: 0 / 399.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.07999, allocations: 4 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.08, allocations: 0 / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.08015, allocations: 173.6 kB / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.08016, allocations: 0 / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.0802, allocations: 8 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.08021, allocations: 0 / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.08022, allocations: 0 / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.08023, allocations: 0 / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.08024, allocations: 7.984 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.08039, allocations: 168.2 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.08046, allocations: 89 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.08048, allocations: 4 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.08054, allocations: 0 / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.08058, allocations: 11.98 kB / 400.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.08059, allocations: 7.938 kB / 400.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.08065, allocations: 107.3 kB / 400.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08066, allocations: 0 / 400.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.08086, allocations: 8 kB / 400.3 MB, free: 13.22 MB / 302.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 7.827e-05/0.08095, allocations: 99.17 kB / 400.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.08106, allocations: 23.98 kB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.08107, allocations: 0 / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.08112, allocations: 16.06 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.08143, allocations: 23.95 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.08171, allocations: 181.6 kB / 400.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.08195, allocations: 0.6926 MB / 401.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.502e-05/0.08198, allocations: 4 kB / 401.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.08201, allocations: 7.438 kB / 401.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.08201, allocations: 0 / 401.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Templates: time 0.00212/0.08414, allocations: 0.5244 MB / 401.9 MB, free: 11.6 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches