Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 104 kB / 16.45 MB, free: 6.434 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.00122/0.00122, allocations: 192.7 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.741/1.741, allocations: 205.1 MB / 223.3 MB, free: 12.23 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.08719/0.08719, allocations: 12.58 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.00223/0.00223, allocations: 91.11 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1176, allocations: 49.4 MB / 443.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.003883/0.1216, allocations: 1.606 MB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1231, allocations: 0.554 MB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.1235, allocations: 4 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.652e-05/0.1236, allocations: 7.875 kB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1238, allocations: 15.86 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.1244, allocations: 51.83 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1246, allocations: 59.83 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1248, allocations: 27.86 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1249, allocations: 27.86 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.125, allocations: 23.84 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.125, allocations: 4 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.1251, allocations: 8 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.1251, allocations: 15.92 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.1252, allocations: 39.73 kB / 446 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1254, allocations: 55.75 kB / 446.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1254, allocations: 4 kB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1254, allocations: 0 / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1254, allocations: 0 / 446.1 MB, free: 13.95 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006085/0.126, allocations: 391 kB / 446.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1261, allocations: 8.031 kB / 446.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1262, allocations: 16.84 kB / 446.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1264, allocations: 210 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1265, allocations: 384 / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1265, allocations: 8.375 kB / 446.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.1269, allocations: 151 kB / 446.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1269, allocations: 3.938 kB / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1269, allocations: 0 / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1269, allocations: 4 kB / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.127, allocations: 23.92 kB / 446.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.1275, allocations: 291.5 kB / 447.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1277, allocations: 90.42 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.1278, allocations: 59.42 kB / 447.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1278, allocations: 0 / 447.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1279, allocations: 46.48 kB / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1279, allocations: 0 / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003531/0.1282, allocations: 105.5 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.1284, allocations: 132.5 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1285, allocations: 150.3 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1285, allocations: 29.64 kB / 447.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.1286, allocations: 96.62 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1286, allocations: 11.84 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1287, allocations: 17.72 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1288, allocations: 326.8 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.1289, allocations: 8 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.1289, allocations: 49.14 kB / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1291, allocations: 61.08 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1291, allocations: 0 / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001584/0.1292, allocations: 89.45 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1293, allocations: 8 kB / 448.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1293, allocations: 0 / 448.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1293, allocations: 7.984 kB / 448.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1294, allocations: 15.94 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1294, allocations: 4 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.1295, allocations: 0 / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1295, allocations: 12.17 kB / 448.4 MB, free: 11.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 0.0001178/0.1296, allocations: 121.8 kB / 448.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1298, allocations: 65.53 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.1298, allocations: 15.83 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1298, allocations: 0 / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1298, allocations: 4 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1298, allocations: 3.984 kB / 448.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.1301, allocations: 173.6 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1301, allocations: 4.094 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.1302, allocations: 23.92 kB / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1302, allocations: 0 / 448.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1302, allocations: 4 kB / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1302, allocations: 0 / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1302, allocations: 3.938 kB / 448.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1305, allocations: 209.8 kB / 449.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.1306, allocations: 93 kB / 449.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1306, allocations: 8.125 kB / 449.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1307, allocations: 8 kB / 449.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1308, allocations: 0 / 449.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1308, allocations: 4 kB / 449.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1309, allocations: 111.2 kB / 449.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 4 kB / 449.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1312, allocations: 12 kB / 449.3 MB, free: 10.28 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001468/0.1313, allocations: 99.17 kB / 449.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1315, allocations: 39.92 kB / 449.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1316, allocations: 0 / 449.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.1316, allocations: 16.3 kB / 449.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.132, allocations: 43.98 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.1325, allocations: 201.7 kB / 449.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1329, allocations: 0.6963 MB / 450.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.1329, allocations: 12.94 kB / 450.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.133, allocations: 15.42 kB / 450.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.133, allocations: 0 / 450.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of Templates: time 0.004479/0.1375, allocations: 0.8549 MB / 451.3 MB, free: 8.234 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches