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.0008422/0.0008422, allocations: 102.6 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.000736/0.000736, allocations: 181.4 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.216/1.216, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.06303/0.06303, allocations: 12.6 MB / 284 MB, free: 8.578 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.0006477/0.0006477, allocations: 24 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07654/0.0772, allocations: 50.39 MB / 395.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.001707/0.07895, allocations: 1.286 MB / 396.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000793/0.07976, allocations: 0.5075 MB / 397.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.07988, allocations: 4 kB / 397.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.07992, allocations: 7.922 kB / 397.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.08005, allocations: 7.938 kB / 397.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.08032, allocations: 35.91 kB / 397.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.08042, allocations: 55.77 kB / 397.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.08052, allocations: 12.19 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.08059, allocations: 19.92 kB / 397.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.08065, allocations: 19.88 kB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.08067, allocations: 0 / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.08069, allocations: 4 kB / 397.5 MB, free: 448 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.08074, allocations: 15.91 kB / 397.5 MB, free: 432 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.08079, allocations: 49.52 kB / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.08088, allocations: 43.8 kB / 397.6 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08089, allocations: 3.938 kB / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0809, allocations: 4 kB / 397.6 MB, free: 324 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.08091, allocations: 0 / 397.6 MB, free: 324 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.0004457/0.08136, allocations: 371.4 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.08141, allocations: 12.03 kB / 398 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.08146, allocations: 12.83 kB / 398 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.08166, allocations: 192.1 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.08168, allocations: 4.375 kB / 398.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.0817, allocations: 8.375 kB / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.08198, allocations: 122 kB / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.082, allocations: 0 / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.08202, allocations: 3.984 kB / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.08203, allocations: 0 / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.08212, allocations: 27.92 kB / 398.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.08245, allocations: 278.6 kB / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.08257, allocations: 71.77 kB / 398.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.08264, allocations: 42.52 kB / 398.8 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.08267, allocations: 7.969 kB / 398.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.0827, allocations: 34.56 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.08271, allocations: 0 / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002568/0.08297, allocations: 93.52 kB / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.08303, allocations: 110.7 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.08316, allocations: 145.6 kB / 399.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.08318, allocations: 25.7 kB / 399.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.08323, allocations: 96.52 kB / 399.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.08325, allocations: 3.906 kB / 399.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.08327, allocations: 9.719 kB / 399.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.08338, allocations: 326.8 kB / 399.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.08342, allocations: 8 kB / 399.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.08348, allocations: 35.42 kB / 399.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.08357, allocations: 51.36 kB / 399.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.08358, allocations: 0 / 399.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.08372, allocations: 81.52 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.08375, allocations: 8 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.08376, allocations: 0 / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.08377, allocations: 0 / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.08385, allocations: 15.92 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.08386, allocations: 4 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.08391, allocations: 4 kB / 399.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.08392, allocations: 4.125 kB / 399.8 MB, free: 13.85 MB / 302.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 6.764e-05/0.084, allocations: 117.8 kB / 399.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.08408, allocations: 57.53 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.08412, allocations: 11.88 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.08412, allocations: 0 / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.08413, allocations: 3.984 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.08414, allocations: 0 / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.0843, allocations: 173.6 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08431, allocations: 4.062 kB / 400.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.08437, allocations: 11.98 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.08439, allocations: 4 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.0844, allocations: 0 / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0844, allocations: 0 / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.08441, allocations: 7.938 kB / 400.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.08459, allocations: 189 kB / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.08465, allocations: 93 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.08467, allocations: 0 / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.08474, allocations: 4 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.08477, allocations: 4 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.08478, allocations: 7.984 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.202e-05/0.08485, allocations: 103.3 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08486, allocations: 4 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.08509, allocations: 11.94 kB / 400.6 MB, free: 12.95 MB / 302.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.391e-05/0.08518, allocations: 99.23 kB / 400.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.08533, allocations: 39.86 kB / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.08534, allocations: 0 / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.08538, allocations: 12.25 kB / 400.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.08573, allocations: 31.89 kB / 400.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.08606, allocations: 210.8 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.0863, allocations: 0.6887 MB / 401.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.08633, allocations: 4 kB / 401.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.08636, allocations: 7.438 kB / 401.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08637, allocations: 0 / 401.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Templates: time 0.00237/0.08874, allocations: 0.587 MB / 402.3 MB, free: 11.21 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches