Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|backSample1.y|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|backSample1.y|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00095/0.00095, allocations: 175.5 kB / 16.77 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205 MB / 222.6 MB, free: 9.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000728/0.0007283, allocations: 100.2 kB / 270.5 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06784/0.06784, allocations: 12.56 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005183, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09043, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample): time 0.002276/0.09275, allocations: 1.618 MB / 443.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.09471, allocations: 1.069 MB / 444.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.09483, allocations: 4 kB / 444.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.09512, allocations: 63.8 kB / 444.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.09537, allocations: 91.64 kB / 444.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.09618, allocations: 207.6 kB / 444.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.09641, allocations: 163.5 kB / 444.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.09653, allocations: 33.55 kB / 444.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.09665, allocations: 67.58 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.09677, allocations: 79.67 kB / 445.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.09681, allocations: 0 / 445.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.09697, allocations: 47.92 kB / 445.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.09706, allocations: 51.81 kB / 445.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.09715, allocations: 75.42 kB / 445.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.09745, allocations: 227.5 kB / 445.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09748, allocations: 8 kB / 445.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09749, allocations: 0 / 445.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.0975, allocations: 0 / 445.5 MB, free: 12.59 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006338/0.09815, allocations: 0.5039 MB / 446 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.0982, allocations: 8.031 kB / 446 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.09828, allocations: 32.56 kB / 446 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.09864, allocations: 291.5 kB / 446.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.09868, allocations: 8.375 kB / 446.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.09871, allocations: 16.11 kB / 446.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.0991, allocations: 178.5 kB / 446.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.09913, allocations: 0 / 446.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.09915, allocations: 4 kB / 446.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.09917, allocations: 4 kB / 446.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.09934, allocations: 43.91 kB / 446.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.09989, allocations: 395.1 kB / 446.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1002, allocations: 150.5 kB / 447.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1004, allocations: 63.41 kB / 447.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1004, allocations: 0 / 447.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1006, allocations: 83.31 kB / 447.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.325e-06/0.1007, allocations: 0 / 447.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005277/0.1012, allocations: 173.5 kB / 447.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1013, allocations: 183.9 kB / 447.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.1017, allocations: 330.7 kB / 447.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1017, allocations: 29.64 kB / 447.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1018, allocations: 132.4 kB / 448.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1019, allocations: 19.75 kB / 448.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1019, allocations: 21.7 kB / 448.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.102, allocations: 330.8 kB / 448.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.1021, allocations: 32.05 kB / 448.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.1022, allocations: 100.5 kB / 448.6 MB, free: 9.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1023, allocations: 101.9 kB / 448.7 MB, free: 9.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1023, allocations: 3.938 kB / 448.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002838/0.1026, allocations: 145.3 kB / 448.8 MB, free: 8.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1026, allocations: 8 kB / 448.8 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1027, allocations: 0 / 448.8 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1027, allocations: 4 kB / 448.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1028, allocations: 19.98 kB / 448.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1029, allocations: 4 kB / 448.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.103, allocations: 4 kB / 448.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.103, allocations: 16.23 kB / 448.9 MB, free: 8.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001327/0.1032, allocations: 158.7 kB / 449 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1032, allocations: 27.72 kB / 449 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.1033, allocations: 29.7 kB / 449.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1033, allocations: 0 / 449.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1033, allocations: 0 / 449.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.1034, allocations: 120.7 kB / 449.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.1035, allocations: 7.938 kB / 449.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1036, allocations: 7.984 kB / 449.2 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1037, allocations: 4 kB / 449.2 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003488/0.104, allocations: 446.7 kB / 449.6 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003917/0.1044, allocations: 0.5355 MB / 450.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001451/0.1046, allocations: 59.91 kB / 450.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002718/0.1049, allocations: 245.9 kB / 450.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of Backend: time 6.01e-07/0.1049, allocations: 0 / 450.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.1071, allocations: 463.9 kB / 450.9 MB, free: 6.688 MB / 298.7 MB Notification: Performance of SimCode: time 0.0009849/0.1081, allocations: 0.8712 MB / 451.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of Templates: time 0.008505/0.1166, allocations: 3.075 MB / 454.9 MB, free: 2.691 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1)