Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 175.8 kB / 16.78 MB, free: 5.043 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.822/1.822, allocations: 205 MB / 222.6 MB, free: 9.156 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.0007284/0.0007284, allocations: 90.38 kB / 270.5 MB, free: 8.684 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.06615/0.06615, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06824/0.0686, allocations: 49.99 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked): time 0.0014/0.07004, allocations: 1.211 MB / 442.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.0704, allocations: 135.5 kB / 443 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.07049, allocations: 0 / 443 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.68e-05/0.07055, allocations: 3.938 kB / 443 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.07066, allocations: 11.98 kB / 443.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.07089, allocations: 31.91 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.07097, allocations: 19.94 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.07107, allocations: 19.97 kB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.0711, allocations: 7.938 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.07114, allocations: 15.88 kB / 443.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.07116, allocations: 4 kB / 443.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.07118, allocations: 0 / 443.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.07123, allocations: 7.984 kB / 443.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.07126, allocations: 19.81 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.07133, allocations: 35.81 kB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.07134, allocations: 0 / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.07135, allocations: 4 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.07136, allocations: 0 / 443.2 MB, free: 14.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003586/0.07172, allocations: 355.6 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.07177, allocations: 8.031 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.07181, allocations: 12.84 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.07195, allocations: 192.1 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.07197, allocations: 384 / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.07199, allocations: 4.375 kB / 443.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.07219, allocations: 97.61 kB / 443.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.07221, allocations: 192 / 443.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.07223, allocations: 3.938 kB / 443.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.07224, allocations: 0 / 443.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.07231, allocations: 19.98 kB / 443.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.07255, allocations: 261.8 kB / 444.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.07262, allocations: 45.09 kB / 444.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.07267, allocations: 29.77 kB / 444.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.0727, allocations: 0 / 444.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.07272, allocations: 38.44 kB / 444.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.07273, allocations: 0 / 444.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.07294, allocations: 73.72 kB / 444.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.07296, allocations: 81.09 kB / 444.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.07305, allocations: 131.8 kB / 444.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.07307, allocations: 29.7 kB / 444.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.0731, allocations: 84.14 kB / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-06/0.07311, allocations: 0 / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.07314, allocations: 9.719 kB / 444.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.07319, allocations: 326.9 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.07323, allocations: 4 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.07326, allocations: 21.7 kB / 445 MB, free: 12.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.07333, allocations: 37.77 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.07334, allocations: 0 / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.305e-05/0.07344, allocations: 61.47 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.07346, allocations: 8.938 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.07347, allocations: 0 / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.07349, allocations: 0 / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.07356, allocations: 7.984 kB / 445.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.07357, allocations: 8.062 kB / 445.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.0736, allocations: 7.922 kB / 445.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.07361, allocations: 4 kB / 445.1 MB, free: 12.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.y,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.167e-05/0.07367, allocations: 118.7 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.0737, allocations: 7.938 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.07373, allocations: 7.828 kB / 445.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.07374, allocations: 3.984 kB / 445.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.07374, allocations: 4 kB / 445.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.07378, allocations: 93.02 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.0738, allocations: 3.984 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.07386, allocations: 4 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.07389, allocations: 0 / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001189/0.07402, allocations: 216.1 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001287/0.07416, allocations: 306.1 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.162e-05/0.07421, allocations: 11.98 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.07425, allocations: 113.6 kB / 446 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Backend: time 2e-07/0.07426, allocations: 0 / 446 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.07462, allocations: 86.33 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003698/0.075, allocations: 0.6059 MB / 446.7 MB, free: 11 MB / 298.7 MB Notification: Performance of Templates: time 0.00194/0.07696, allocations: 418.4 kB / 447.1 MB, free: 10.6 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1)