Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001242, allocations: 176.4 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.311/1.311, allocations: 205 MB / 222.6 MB, free: 9.152 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.0006778/0.0006778, allocations: 88.55 kB / 270.5 MB, free: 8.68 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.07134/0.07134, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06893/0.06928, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2): time 0.001383/0.07068, allocations: 1.266 MB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000292/0.071, allocations: 131.6 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.07109, allocations: 3.938 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.414e-05/0.07116, allocations: 3.984 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.07127, allocations: 7.938 kB / 443.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.07148, allocations: 35.91 kB / 443.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.07156, allocations: 35.86 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.823e-05/0.07164, allocations: 12 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.07167, allocations: 11.92 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.159e-05/0.07171, allocations: 11.94 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.07173, allocations: 4 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.07174, allocations: 0 / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.07179, allocations: 15.91 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.07183, allocations: 19.81 kB / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.336e-05/0.0719, allocations: 35.83 kB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.07191, allocations: 4 kB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.07191, allocations: 4 kB / 443.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.07192, allocations: 0 / 443.3 MB, free: 14.78 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.0002945/0.07222, allocations: 355.5 kB / 443.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.07226, allocations: 8.031 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.07229, allocations: 12.83 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.07241, allocations: 192.1 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.07243, allocations: 8.359 kB / 443.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.07245, allocations: 8.375 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.07267, allocations: 113.6 kB / 444 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.07269, allocations: 192 / 444 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.07271, allocations: 3.938 kB / 444 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.07272, allocations: 0 / 444 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.0728, allocations: 35.86 kB / 444 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.07301, allocations: 257.7 kB / 444.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.07317, allocations: 150.2 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.07323, allocations: 29.77 kB / 444.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.07326, allocations: 3.938 kB / 444.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.07328, allocations: 30.56 kB / 444.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.07328, allocations: 0 / 444.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.0735, allocations: 85.61 kB / 444.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.07353, allocations: 77.11 kB / 444.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.07361, allocations: 139.9 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.07362, allocations: 25.7 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.07365, allocations: 88.14 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.07367, allocations: 8.031 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.0737, allocations: 13.72 kB / 444.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.07374, allocations: 318.8 kB / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.07378, allocations: 8 kB / 445.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.07382, allocations: 35.42 kB / 445.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.0739, allocations: 51.36 kB / 445.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.07391, allocations: 0 / 445.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000106/0.07402, allocations: 77.5 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.07404, allocations: 8.625 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.07405, allocations: 0 / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.07407, allocations: 0 / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.07412, allocations: 11.98 kB / 445.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.07413, allocations: 4 kB / 445.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.07417, allocations: 7.906 kB / 445.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.07418, allocations: 4 kB / 445.4 MB, free: 12.35 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 5.326e-05/0.07424, allocations: 122 kB / 445.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.07427, allocations: 7.938 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.0743, allocations: 12.25 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.07431, allocations: 0 / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.07432, allocations: 0 / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.07435, allocations: 89 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.07437, allocations: 4 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.07444, allocations: 7.922 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.07447, allocations: 8 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001285/0.07461, allocations: 224.4 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001445/0.07476, allocations: 322 kB / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.483e-05/0.07482, allocations: 15.98 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.07486, allocations: 105.7 kB / 446.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of Backend: time 3.01e-07/0.07487, allocations: 3.938 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.0753, allocations: 102.3 kB / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004703/0.07579, allocations: 0.6098 MB / 447 MB, free: 10.63 MB / 298.7 MB Notification: Performance of Templates: time 0.002738/0.07854, allocations: 458.3 kB / 447.5 MB, free: 10.19 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe 2>&1)