Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 175.8 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.315/1.315, allocations: 205 MB / 222.6 MB, free: 9.07 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.0008199/0.00082, allocations: 97.23 kB / 270.5 MB, free: 8.66 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.07136/0.07136, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 15.98 kB / 391.7 MB, free: 66.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07114/0.07161, allocations: 49.97 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold): time 0.002167/0.07382, allocations: 1.614 MB / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.07531, allocations: 0.9715 MB / 444.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.07551, allocations: 4 kB / 444.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.07611, allocations: 147.6 kB / 444.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.07638, allocations: 95.7 kB / 444.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.07694, allocations: 171.6 kB / 444.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.07719, allocations: 175.5 kB / 444.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.07733, allocations: 41.8 kB / 444.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.07748, allocations: 63.66 kB / 445 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.07761, allocations: 71.62 kB / 445 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.07764, allocations: 7.938 kB / 445 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.07782, allocations: 47.91 kB / 445.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.0779, allocations: 35.84 kB / 445.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.07798, allocations: 63.55 kB / 445.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.07825, allocations: 199.3 kB / 445.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.07826, allocations: 4 kB / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.07827, allocations: 0 / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.07828, allocations: 0 / 445.4 MB, free: 12.68 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007676/0.07906, allocations: 492.2 kB / 445.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.07912, allocations: 8.031 kB / 445.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.0792, allocations: 24.66 kB / 445.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.07951, allocations: 262.8 kB / 446.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.07954, allocations: 4.375 kB / 446.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.07956, allocations: 16.12 kB / 446.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.07986, allocations: 171.4 kB / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.07989, allocations: 0 / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.0799, allocations: 3.938 kB / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.07992, allocations: 4 kB / 446.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.08002, allocations: 39.92 kB / 446.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.08046, allocations: 450.5 kB / 446.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.08066, allocations: 130.5 kB / 447 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.08075, allocations: 59.42 kB / 447 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.08078, allocations: 3.984 kB / 447 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.08094, allocations: 89.05 kB / 447.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.08095, allocations: 0 / 447.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003572/0.08132, allocations: 165.3 kB / 447.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.08137, allocations: 154.2 kB / 447.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.08159, allocations: 272.9 kB / 447.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.08161, allocations: 33.7 kB / 447.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.08168, allocations: 112.4 kB / 447.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.08171, allocations: 27.8 kB / 447.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.08176, allocations: 22.09 kB / 447.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.08183, allocations: 334.8 kB / 448.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.08189, allocations: 19.98 kB / 448.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/0.08197, allocations: 78.84 kB / 448.3 MB, free: 9.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.0821, allocations: 93.05 kB / 448.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08211, allocations: 0 / 448.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001885/0.0823, allocations: 125.5 kB / 448.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.08233, allocations: 12.97 kB / 448.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.08234, allocations: 0 / 448.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.08236, allocations: 4 kB / 448.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.08243, allocations: 8 kB / 448.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.08245, allocations: 15.86 kB / 448.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.08253, allocations: 11.91 kB / 448.6 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.08254, allocations: 7.938 kB / 448.6 MB, free: 9.117 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: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample.y,hold.y,hold.u,shiftSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.678e-05/0.08264, allocations: 146.7 kB / 448.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.08268, allocations: 15.81 kB / 448.7 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.08273, allocations: 25.7 kB / 448.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.08274, allocations: 0 / 448.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.08274, allocations: 4 kB / 448.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.08281, allocations: 108.8 kB / 448.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.08285, allocations: 15.88 kB / 448.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.08292, allocations: 4 kB / 448.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.08296, allocations: 7.984 kB / 448.9 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002394/0.08321, allocations: 430.7 kB / 449.3 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002522/0.08347, allocations: 0.528 MB / 449.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.706e-05/0.08356, allocations: 47.97 kB / 449.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.0837, allocations: 196.5 kB / 450.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of Backend: time 2.61e-07/0.08371, allocations: 0 / 450.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.08504, allocations: 456.4 kB / 450.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006944/0.08575, allocations: 0.808 MB / 451.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of Templates: time 0.004947/0.09071, allocations: 2.517 MB / 453.9 MB, free: 3.727 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1)