Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 105.9 kB / 16.31 MB, free: 5.879 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.001569/0.001569, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.832/1.832, allocations: 205.1 MB / 223.1 MB, free: 12.25 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.08383/0.08383, allocations: 12.6 MB / 283.1 MB, free: 15.46 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.002272/0.002272, allocations: 91.88 kB / 343.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3448, allocations: 49.38 MB / 392.9 MB, free: 49.24 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.004037/0.3489, allocations: 1.568 MB / 394.5 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.35, allocations: 0.5302 MB / 395 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.3501, allocations: 1.156 kB / 395 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.748e-05/0.3502, allocations: 5.719 kB / 395 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3503, allocations: 15.45 kB / 395 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3506, allocations: 45.59 kB / 395 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.3507, allocations: 54.95 kB / 395.1 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3508, allocations: 20.22 kB / 395.1 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.3509, allocations: 17.66 kB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.351, allocations: 22.23 kB / 395.2 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.351, allocations: 2.281 kB / 395.2 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.351, allocations: 3.062 kB / 395.2 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.3511, allocations: 19.88 kB / 395.2 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.3511, allocations: 26.7 kB / 395.2 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3512, allocations: 51.16 kB / 395.3 MB, free: 47.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3512, allocations: 0 / 395.3 MB, free: 47.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3512, allocations: 0 / 395.3 MB, free: 47.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3513, allocations: 1.062 kB / 395.3 MB, free: 47.64 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.0003885/0.3517, allocations: 388.2 kB / 395.6 MB, free: 47.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3517, allocations: 9.812 kB / 395.7 MB, free: 47.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.3517, allocations: 9.109 kB / 395.7 MB, free: 47.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3519, allocations: 197.1 kB / 395.9 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.3519, allocations: 1.719 kB / 395.9 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3519, allocations: 7.016 kB / 395.9 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.3522, allocations: 120.7 kB / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3522, allocations: 0 / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3522, allocations: 1.531 kB / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3522, allocations: 0 / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.3523, allocations: 27.08 kB / 396 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.3526, allocations: 273.9 kB / 396.3 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.3527, allocations: 68.45 kB / 396.3 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.3528, allocations: 39.5 kB / 396.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3528, allocations: 1.031 kB / 396.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3528, allocations: 34.64 kB / 396.4 MB, free: 46.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3528, allocations: 7.875 kB / 396.4 MB, free: 46.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002712/0.3531, allocations: 80.8 kB / 396.5 MB, free: 46.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3532, allocations: 118.3 kB / 396.6 MB, free: 46.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3533, allocations: 142.1 kB / 396.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3533, allocations: 26.58 kB / 396.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.3534, allocations: 91.97 kB / 396.9 MB, free: 46.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3534, allocations: 9.438 kB / 396.9 MB, free: 46.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3535, allocations: 19.55 kB / 396.9 MB, free: 46.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.3535, allocations: 322 kB / 397.2 MB, free: 45.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.3536, allocations: 11.53 kB / 397.2 MB, free: 45.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.3536, allocations: 31.05 kB / 397.3 MB, free: 45.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.3537, allocations: 52.67 kB / 397.3 MB, free: 45.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3537, allocations: 1.094 kB / 397.3 MB, free: 45.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.3539, allocations: 64.72 kB / 397.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3539, allocations: 5.375 kB / 397.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3539, allocations: 0 / 397.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3539, allocations: 1.812 kB / 397.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.354, allocations: 14.91 kB / 397.4 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3541, allocations: 4.125 kB / 397.4 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.3541, allocations: 11.22 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3541, allocations: 3.312 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.559e-05/0.3542, allocations: 121.6 kB / 397.5 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.3543, allocations: 53.06 kB / 397.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.3543, allocations: 17.16 kB / 397.6 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3544, allocations: 1.312 kB / 397.6 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3544, allocations: 5.438 kB / 397.6 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3544, allocations: 6.719 kB / 397.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3545, allocations: 172.4 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3546, allocations: 0 / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3546, allocations: 10.3 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3546, allocations: 1.094 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3546, allocations: 5.734 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3547, allocations: 2.109 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3547, allocations: 1.062 kB / 397.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.3548, allocations: 181.3 kB / 398 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.3549, allocations: 93.77 kB / 398.1 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3549, allocations: 7.062 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.355, allocations: 2.078 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3551, allocations: 3.672 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3551, allocations: 2.703 kB / 398.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.3552, allocations: 113.1 kB / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3552, allocations: 0 / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3554, allocations: 13.78 kB / 398.2 MB, free: 44.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.902e-05/0.3555, allocations: 100.2 kB / 398.3 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.3556, allocations: 31.88 kB / 398.3 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3557, allocations: 0 / 398.3 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.3557, allocations: 9.938 kB / 398.3 MB, free: 44.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3561, allocations: 42.19 kB / 398.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.3564, allocations: 176.1 kB / 398.6 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3565, allocations: 0.6984 MB / 399.3 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.3566, allocations: 2.344 kB / 399.3 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.3566, allocations: 10.25 kB / 399.3 MB, free: 43.79 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3566, allocations: 0 / 399.3 MB, free: 43.79 MB / 318.1 MB Notification: Performance of Templates: time 0.002691/0.3593, allocations: 0.6554 MB / 399.9 MB, free: 43.45 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches