Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, 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.266/1.266, 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.0008074/0.0008074, allocations: 100.3 kB / 270.5 MB, free: 8.676 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.06467/0.06467, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003654, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0698/0.07018, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002001/0.07223, allocations: 1.574 MB / 443.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.07326, allocations: 0.6516 MB / 443.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.07348, allocations: 7.938 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.07366, allocations: 15.86 kB / 443.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.07381, allocations: 23.84 kB / 444 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.0742, allocations: 91.84 kB / 444.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.07438, allocations: 131.6 kB / 444.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.07454, allocations: 57.7 kB / 444.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.07465, allocations: 43.72 kB / 444.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.07473, allocations: 39.72 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.07476, allocations: 4 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.07478, allocations: 4 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.07484, allocations: 15.86 kB / 444.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.07489, allocations: 59.53 kB / 444.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.07501, allocations: 127.7 kB / 444.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.07502, allocations: 4 kB / 444.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07503, allocations: 0 / 444.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.07504, allocations: 0 / 444.5 MB, free: 13.54 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004628/0.07551, allocations: 419 kB / 444.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.07555, allocations: 12.02 kB / 445 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.0756, allocations: 24.66 kB / 445 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.07582, allocations: 244.8 kB / 445.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.07585, allocations: 12.12 kB / 445.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.07587, allocations: 8 kB / 445.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.07636, allocations: 283.1 kB / 445.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.07638, allocations: 0 / 445.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.0764, allocations: 8 kB / 445.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.07641, allocations: 4 kB / 445.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.07661, allocations: 91.81 kB / 445.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.07699, allocations: 419.5 kB / 446 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.07737, allocations: 318.1 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.07753, allocations: 108.3 kB / 446.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.07757, allocations: 11.92 kB / 446.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.07759, allocations: 42.56 kB / 446.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.0776, allocations: 0 / 446.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004755/0.07808, allocations: 241.4 kB / 446.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.07812, allocations: 179.9 kB / 446.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.07824, allocations: 179 kB / 447.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.07826, allocations: 29.98 kB / 447.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.07831, allocations: 108.1 kB / 447.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.07833, allocations: 19.83 kB / 447.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.07836, allocations: 17.72 kB / 447.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.07841, allocations: 318.8 kB / 447.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.07847, allocations: 27.98 kB / 447.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.07856, allocations: 138.4 kB / 447.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.07871, allocations: 161.6 kB / 447.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.07872, allocations: 4 kB / 447.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002287/0.07896, allocations: 169.6 kB / 448.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.07898, allocations: 8.062 kB / 448.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.07899, allocations: 7.938 kB / 448.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.07901, allocations: 7.984 kB / 448.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.07913, allocations: 35.92 kB / 448.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.07914, allocations: 7.984 kB / 448.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.07929, allocations: 15.91 kB / 448.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.07931, allocations: 8.375 kB / 448.1 MB, free: 9.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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 7.551e-05/0.07939, allocations: 138.6 kB / 448.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.07945, allocations: 23.8 kB / 448.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.07949, allocations: 25.34 kB / 448.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.0795, allocations: 7.875 kB / 448.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.07951, allocations: 3.984 kB / 448.3 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.07957, allocations: 108.9 kB / 448.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.0796, allocations: 0 / 448.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.07984, allocations: 19.98 kB / 448.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.07988, allocations: 4 kB / 448.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003624/0.08025, allocations: 0.5681 MB / 449 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003417/0.0806, allocations: 0.6429 MB / 449.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001471/0.08076, allocations: 75.89 kB / 449.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.08084, allocations: 137.1 kB / 449.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of Backend: time 3.81e-07/0.08084, allocations: 0 / 449.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008335/0.08168, allocations: 142.4 kB / 450 MB, free: 7.527 MB / 298.7 MB Notification: Performance of SimCode: time 0.0005843/0.08228, allocations: 0.7795 MB / 450.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of Templates: time 0.003634/0.08592, allocations: 1.89 MB / 452.7 MB, free: 4.809 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1)