Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 176.3 kB / 16.77 MB, free: 4.926 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.292/1.292, allocations: 205 MB / 222.6 MB, free: 9.129 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.0007449/0.0007449, allocations: 100.1 kB / 270.5 MB, free: 8.668 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.06607/0.06607, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004179, allocations: 19.98 kB / 391.7 MB, free: 66.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06631/0.06675, allocations: 49.98 MB / 441.7 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001278/0.06807, allocations: 1.25 MB / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.0684, allocations: 139.6 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.06849, allocations: 0 / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.06858, allocations: 7.922 kB / 443.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.06866, allocations: 11.92 kB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.06885, allocations: 31.92 kB / 443.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.878e-05/0.06893, allocations: 43.84 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.06902, allocations: 19.98 kB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.06905, allocations: 7.938 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.239e-05/0.06909, allocations: 19.86 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.06911, allocations: 0 / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.06913, allocations: 4 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.06917, allocations: 7.984 kB / 443.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.06921, allocations: 27.75 kB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.06928, allocations: 47.8 kB / 443.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.06929, allocations: 4 kB / 443.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0693, allocations: 4 kB / 443.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.06931, allocations: 0 / 443.3 MB, free: 14.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003256/0.06964, allocations: 375.3 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.06968, allocations: 8.031 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.06971, allocations: 12.83 kB / 443.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.06985, allocations: 200.1 kB / 443.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.06986, allocations: 384 / 443.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.06988, allocations: 8.375 kB / 443.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.07011, allocations: 126.4 kB / 444 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.07013, allocations: 192 / 444 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.07015, allocations: 3.938 kB / 444 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.07017, allocations: 8 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.07029, allocations: 43.91 kB / 444.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.07061, allocations: 366 kB / 444.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.07072, allocations: 91.77 kB / 444.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.07079, allocations: 46.5 kB / 444.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.07081, allocations: 0 / 444.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.07083, allocations: 34.56 kB / 444.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.07084, allocations: 4 kB / 444.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002903/0.07114, allocations: 117.5 kB / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.07117, allocations: 106.8 kB / 444.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.07125, allocations: 157.9 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.07127, allocations: 29.64 kB / 445 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.0713, allocations: 92.12 kB / 445.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.07132, allocations: 0 / 445.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.07134, allocations: 17.72 kB / 445.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.07138, allocations: 314.8 kB / 445.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.07145, allocations: 19.98 kB / 445.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.07151, allocations: 51.36 kB / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.07163, allocations: 71.34 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.07164, allocations: 0 / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001527/0.0718, allocations: 97.53 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.07182, allocations: 4 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.07183, allocations: 4 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.07185, allocations: 0 / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.07193, allocations: 15.98 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.07195, allocations: 3.938 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.07199, allocations: 4 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.072, allocations: 4.094 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.y[2],sample.y[1],sample.u[2],sample.u[1]) * 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.644e-05/0.0721, allocations: 129.8 kB / 445.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.07215, allocations: 11.89 kB / 445.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.07217, allocations: 15.83 kB / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.07218, allocations: 0 / 445.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.07219, allocations: 3.984 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.07223, allocations: 97.02 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.07228, allocations: 3.984 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.07238, allocations: 4 kB / 446 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.07243, allocations: 11.94 kB / 446 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001894/0.07262, allocations: 331.5 kB / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001942/0.07283, allocations: 421.3 kB / 446.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.147e-05/0.07291, allocations: 27.98 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.07296, allocations: 107.2 kB / 446.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Backend: time 4.9e-07/0.07296, allocations: 0 / 446.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.07342, allocations: 102.4 kB / 447 MB, free: 10.75 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003948/0.07382, allocations: 0.6409 MB / 447.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of Templates: time 0.002184/0.07602, allocations: 0.5826 MB / 448.2 MB, free: 9.48 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1)