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.001344/0.001344, allocations: 103 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.001424/0.001424, allocations: 187 kB / 17.39 MB, free: 5.668 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.743/1.743, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.09192/0.09192, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.002003/0.002003, allocations: 89.23 kB / 394.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1258, allocations: 49.41 MB / 443.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.003772/0.1297, allocations: 1.563 MB / 445.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.131, allocations: 0.5307 MB / 445.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1312, allocations: 0 / 445.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.946e-05/0.1313, allocations: 7.875 kB / 445.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1314, allocations: 11.92 kB / 445.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1318, allocations: 55.77 kB / 445.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1319, allocations: 43.86 kB / 445.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1321, allocations: 28.09 kB / 445.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1322, allocations: 31.84 kB / 445.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.1323, allocations: 19.86 kB / 445.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1323, allocations: 4 kB / 445.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.1323, allocations: 4 kB / 445.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.1324, allocations: 11.94 kB / 445.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.1325, allocations: 23.8 kB / 445.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1326, allocations: 59.75 kB / 446 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1326, allocations: 0 / 446 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1327, allocations: 4 kB / 446 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1327, allocations: 0 / 446 MB, free: 14.17 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.0006811/0.1334, allocations: 375.1 kB / 446.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1334, allocations: 8.031 kB / 446.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.1335, allocations: 12.83 kB / 446.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1338, allocations: 200.1 kB / 446.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1338, allocations: 12.31 kB / 446.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1339, allocations: 4.312 kB / 446.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1342, allocations: 121.9 kB / 446.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1342, allocations: 0 / 446.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1343, allocations: 4 kB / 446.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1343, allocations: 4 kB / 446.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.1344, allocations: 23.98 kB / 446.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1348, allocations: 270.5 kB / 447 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.135, allocations: 75.78 kB / 447.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.135, allocations: 38.62 kB / 447.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1351, allocations: 0 / 447.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1351, allocations: 30.56 kB / 447.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1351, allocations: 0 / 447.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002897/0.1354, allocations: 89.45 kB / 447.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.1356, allocations: 110.8 kB / 447.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1357, allocations: 137.8 kB / 447.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.1357, allocations: 25.7 kB / 447.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.1358, allocations: 88.52 kB / 447.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1358, allocations: 11.98 kB / 447.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1358, allocations: 17.62 kB / 447.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1359, allocations: 322.8 kB / 447.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.136, allocations: 7.984 kB / 447.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/0.1361, allocations: 39.42 kB / 448 MB, free: 11.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.1362, allocations: 47.36 kB / 448 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1362, allocations: 0 / 448 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.1363, allocations: 69.56 kB / 448.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1363, allocations: 11.98 kB / 448.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1363, allocations: 4.125 kB / 448.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1364, allocations: 0 / 448.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.1365, allocations: 8 kB / 448.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.1365, allocations: 4 kB / 448.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.1365, allocations: 0 / 448.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1365, allocations: 11.92 kB / 448.1 MB, free: 11.73 MB / 334.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 8.618e-05/0.1366, allocations: 117.8 kB / 448.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.1367, allocations: 53.53 kB / 448.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.1368, allocations: 19.89 kB / 448.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1368, allocations: 4 kB / 448.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1368, allocations: 0 / 448.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1368, allocations: 0 / 448.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.137, allocations: 181.4 kB / 448.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.137, allocations: 3.984 kB / 448.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.137, allocations: 8 kB / 448.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1371, allocations: 0 / 448.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1371, allocations: 3.938 kB / 448.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1371, allocations: 7.938 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1371, allocations: 4 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1373, allocations: 181.1 kB / 448.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.1374, allocations: 93 kB / 448.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1374, allocations: 7.984 kB / 448.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1375, allocations: 4 kB / 448.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1375, allocations: 8 kB / 448.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1375, allocations: 0 / 448.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.1376, allocations: 115.9 kB / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1376, allocations: 0 / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.1378, allocations: 8 kB / 448.9 MB, free: 10.82 MB / 334.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 0.0001016/0.1379, allocations: 95.19 kB / 449 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.1381, allocations: 40.09 kB / 449 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1381, allocations: 0 / 449 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.1381, allocations: 8 kB / 449.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1385, allocations: 27.95 kB / 449.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.1389, allocations: 172.7 kB / 449.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1392, allocations: 0.7005 MB / 449.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.455e-05/0.1393, allocations: 7.734 kB / 450 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1393, allocations: 11.44 kB / 450 MB, free: 9.691 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1393, allocations: 0 / 450 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Templates: time 0.00341/0.1428, allocations: 0.6488 MB / 450.6 MB, free: 9.043 MB / 334.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