Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 175.6 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.343/1.343, allocations: 205 MB / 222.6 MB, free: 9.059 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.0007108/0.0007108, allocations: 92.38 kB / 270.5 MB, free: 8.652 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.08474/0.08474, allocations: 12.57 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07135/0.0717, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001581/0.07333, allocations: 1.325 MB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006962/0.07405, allocations: 0.5113 MB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.07417, allocations: 4 kB / 443.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.0743, allocations: 11.94 kB / 443.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.07441, allocations: 19.84 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.07465, allocations: 39.91 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.07475, allocations: 55.78 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.07485, allocations: 15.98 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.07493, allocations: 23.88 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.07499, allocations: 27.83 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.07502, allocations: 4 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.07504, allocations: 0 / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.0751, allocations: 15.94 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.07514, allocations: 27.8 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.07522, allocations: 60 kB / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.07523, allocations: 0 / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.07524, allocations: 4 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.07525, allocations: 0 / 443.8 MB, free: 14.22 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.0004312/0.07569, allocations: 395 kB / 444.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.07573, allocations: 8.031 kB / 444.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.07578, allocations: 12.84 kB / 444.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.07594, allocations: 196 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.07596, allocations: 8.375 kB / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.07598, allocations: 4.359 kB / 444.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.07625, allocations: 134.2 kB / 444.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.07627, allocations: 0 / 444.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.07629, allocations: 3.984 kB / 444.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.07632, allocations: 4 kB / 444.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.07645, allocations: 51.91 kB / 444.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.07684, allocations: 381.8 kB / 445 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.07697, allocations: 83.78 kB / 445.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.07705, allocations: 46.61 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.07708, allocations: 0 / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.0771, allocations: 42.5 kB / 445.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.07711, allocations: 0 / 445.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000328/0.07744, allocations: 125.5 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.07748, allocations: 110.8 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.07757, allocations: 150.1 kB / 445.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.07759, allocations: 29.98 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.07762, allocations: 96.12 kB / 445.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.07764, allocations: 11.91 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.07767, allocations: 9.719 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.07772, allocations: 318.8 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.07779, allocations: 19.98 kB / 446 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.07787, allocations: 51.36 kB / 446.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.07801, allocations: 79.28 kB / 446.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.07802, allocations: 3.938 kB / 446.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001727/0.0782, allocations: 93.59 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.07822, allocations: 4.125 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.07823, allocations: 8 kB / 446.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.07825, allocations: 0 / 446.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.07835, allocations: 15.98 kB / 446.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.07837, allocations: 0 / 446.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.07843, allocations: 11.89 kB / 446.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.07845, allocations: 4 kB / 446.3 MB, free: 11.46 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: 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 6.359e-05/0.07852, allocations: 130.6 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.07857, allocations: 11.91 kB / 446.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.0786, allocations: 19.81 kB / 446.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.07861, allocations: 96 / 446.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.07861, allocations: 7.922 kB / 446.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.07866, allocations: 89 kB / 446.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.07868, allocations: 8 kB / 446.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.0788, allocations: 7.984 kB / 446.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.07884, allocations: 7.938 kB / 446.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000242/0.07909, allocations: 331.4 kB / 446.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000266/0.07937, allocations: 425.3 kB / 447.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.201e-05/0.07947, allocations: 31.98 kB / 447.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.07953, allocations: 123 kB / 447.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Backend: time 5.01e-07/0.07954, allocations: 0 / 447.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.08003, allocations: 106.3 kB / 447.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 0.0005178/0.08056, allocations: 0.6541 MB / 448.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of Templates: time 0.002568/0.08314, allocations: 0.7114 MB / 448.9 MB, free: 8.719 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1)