Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 175.6 kB / 16.77 MB, free: 5.051 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.31/1.31, allocations: 205 MB / 222.6 MB, free: 9.145 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.0007192/0.0007192, allocations: 96.17 kB / 270.5 MB, free: 8.664 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.06692/0.06692, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06788/0.06824, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001386/0.06967, allocations: 1.336 MB / 443 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006128/0.0703, allocations: 0.5347 MB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.07038, allocations: 7.938 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.07044, allocations: 11.92 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.07056, allocations: 7.938 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.07078, allocations: 47.83 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.07087, allocations: 47.86 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.07096, allocations: 27.91 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.07103, allocations: 23.86 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.07108, allocations: 19.86 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.0711, allocations: 8 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.07112, allocations: 0 / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.07117, allocations: 15.92 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.0712, allocations: 27.75 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.908e-05/0.07127, allocations: 59.72 kB / 443.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.07128, allocations: 0 / 443.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07129, allocations: 0 / 443.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.0713, allocations: 0 / 443.9 MB, free: 14.2 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003335/0.07164, allocations: 375.3 kB / 444.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.07168, allocations: 12.03 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.07172, allocations: 20.73 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.0719, allocations: 200 kB / 444.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.07192, allocations: 4.375 kB / 444.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.07194, allocations: 4.375 kB / 444.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.07218, allocations: 151 kB / 444.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.0722, allocations: 0 / 444.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.07221, allocations: 0 / 444.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.07222, allocations: 0 / 444.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.0723, allocations: 31.92 kB / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.07255, allocations: 287.5 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.07265, allocations: 98.42 kB / 445 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.07273, allocations: 51.42 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.07275, allocations: 0 / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.07277, allocations: 38.56 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.07278, allocations: 3.938 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002462/0.07303, allocations: 113.3 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.07306, allocations: 129 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.07316, allocations: 154.3 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.07317, allocations: 29.7 kB / 445.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.0732, allocations: 88.14 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.07322, allocations: 7.984 kB / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.07325, allocations: 9.719 kB / 445.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.07329, allocations: 318.8 kB / 446 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.07334, allocations: 15.98 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.07339, allocations: 61.08 kB / 446 MB, free: 11.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.572e-05/0.07348, allocations: 69.02 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.07349, allocations: 0 / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001301/0.07363, allocations: 89.64 kB / 446.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.07365, allocations: 11.94 kB / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.07366, allocations: 4 kB / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.07368, allocations: 0 / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.07375, allocations: 19.98 kB / 446.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.07377, allocations: 3.938 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.07382, allocations: 11.94 kB / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.07383, allocations: 0 / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.686e-05/0.0739, allocations: 125.8 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.07393, allocations: 11.91 kB / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.07397, allocations: 19.81 kB / 446.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.07398, allocations: 0 / 446.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.07398, allocations: 4 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.07403, allocations: 93 kB / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.07405, allocations: 7.984 kB / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.07413, allocations: 0 / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.07417, allocations: 11.94 kB / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001889/0.07436, allocations: 398.7 kB / 446.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000186/0.07456, allocations: 484.6 kB / 447.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.689e-05/0.07462, allocations: 27.92 kB / 447.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.127e-05/0.07468, allocations: 123 kB / 447.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Backend: time 3.2e-07/0.07469, allocations: 0 / 447.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.07522, allocations: 98.33 kB / 447.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004795/0.07571, allocations: 0.6623 MB / 448.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of Templates: time 0.002429/0.07815, allocations: 0.7796 MB / 449.1 MB, free: 8.57 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1)