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.001617/0.001617, allocations: 101.5 kB / 16.31 MB, free: 6.391 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.001596/0.001596, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.667/1.667, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.105/0.105, allocations: 12.59 MB / 283.1 MB, free: 15.48 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.001898/0.001898, allocations: 88.53 kB / 343.5 MB, free: 2.949 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 49.38 MB / 392.9 MB, free: 49.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample): time 0.002883/0.3363, allocations: 1.544 MB / 394.4 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.3371, allocations: 0.5297 MB / 395 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.3372, allocations: 2 kB / 395 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.3373, allocations: 5.062 kB / 395 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3374, allocations: 11.77 kB / 395 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3377, allocations: 53.39 kB / 395 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.3378, allocations: 46.72 kB / 395.1 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3379, allocations: 15.53 kB / 395.1 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.338, allocations: 31.03 kB / 395.1 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.3381, allocations: 21.61 kB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3381, allocations: 2.906 kB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.3381, allocations: 3.562 kB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.3382, allocations: 14.59 kB / 395.2 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.3382, allocations: 22.88 kB / 395.2 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3383, allocations: 55.2 kB / 395.2 MB, free: 47.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3383, allocations: 0.7031 kB / 395.2 MB, free: 47.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3383, allocations: 0 / 395.2 MB, free: 47.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3384, allocations: 0 / 395.2 MB, free: 47.65 MB / 318.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.0004376/0.3388, allocations: 391.5 kB / 395.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3388, allocations: 7.234 kB / 395.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3389, allocations: 10.22 kB / 395.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.339, allocations: 197.1 kB / 395.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3391, allocations: 1.75 kB / 395.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3391, allocations: 2.781 kB / 395.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3394, allocations: 113 kB / 395.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3394, allocations: 0 / 395.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3394, allocations: 2.031 kB / 395.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3394, allocations: 1.156 kB / 395.9 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.3395, allocations: 21.92 kB / 396 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.3398, allocations: 267.8 kB / 396.2 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.3399, allocations: 46.97 kB / 396.3 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.3399, allocations: 17.53 kB / 396.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.34, allocations: 4.656 kB / 396.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.34, allocations: 36.41 kB / 396.3 MB, free: 46.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.34, allocations: 1.188 kB / 396.3 MB, free: 46.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002521/0.3402, allocations: 67.08 kB / 396.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3403, allocations: 78.72 kB / 396.5 MB, free: 46.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3404, allocations: 152.9 kB / 396.6 MB, free: 46.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.3404, allocations: 25.7 kB / 396.6 MB, free: 46.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.3405, allocations: 92.38 kB / 396.7 MB, free: 46.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.3405, allocations: 1.188 kB / 396.7 MB, free: 46.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3405, allocations: 22.28 kB / 396.8 MB, free: 46.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.3406, allocations: 317.4 kB / 397.1 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.3406, allocations: 14.22 kB / 397.1 MB, free: 45.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.3407, allocations: 18.05 kB / 397.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.764e-05/0.3408, allocations: 32.55 kB / 397.1 MB, free: 45.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3408, allocations: 0 / 397.1 MB, free: 45.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.3409, allocations: 57.2 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3409, allocations: 4.625 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3409, allocations: 0.8438 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.341, allocations: 1.219 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.341, allocations: 6.156 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.341, allocations: 4.656 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.3411, allocations: 2.812 kB / 397.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3411, allocations: 1.797 kB / 397.2 MB, free: 45.72 MB / 318.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.574e-05/0.3412, allocations: 125.4 kB / 397.3 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.3412, allocations: 41.55 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3413, allocations: 16.44 kB / 397.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3413, allocations: 2.562 kB / 397.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3413, allocations: 0 / 397.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3413, allocations: 4.547 kB / 397.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3414, allocations: 172.4 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3414, allocations: 4 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.3415, allocations: 7.031 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3415, allocations: 0.5625 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3415, allocations: 2.031 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3415, allocations: 0.8438 kB / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3415, allocations: 0 / 397.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3417, allocations: 168.7 kB / 397.7 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.3417, allocations: 90 kB / 397.8 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3417, allocations: 1.688 kB / 397.8 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.3418, allocations: 7.203 kB / 397.8 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3418, allocations: 1.938 kB / 397.8 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3419, allocations: 5.875 kB / 397.8 MB, free: 45.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.008e-05/0.3419, allocations: 112.6 kB / 398 MB, free: 44.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3419, allocations: 4.031 kB / 398 MB, free: 44.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.3422, allocations: 4.406 kB / 398 MB, free: 44.98 MB / 318.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.047e-05/0.3422, allocations: 93.02 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.3424, allocations: 21.75 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3424, allocations: 0 / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.3424, allocations: 11.94 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3428, allocations: 24.52 kB / 398.1 MB, free: 44.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3431, allocations: 157.6 kB / 398.3 MB, free: 44.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3433, allocations: 0.6917 MB / 399 MB, free: 44.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.3433, allocations: 7.625 kB / 399 MB, free: 44.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.3433, allocations: 9.672 kB / 399 MB, free: 44.03 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3433, allocations: 0 / 399 MB, free: 44.03 MB / 318.1 MB Notification: Performance of Templates: time 0.002727/0.3461, allocations: 0.5793 MB / 399.6 MB, free: 43.73 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches