Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00193/0.00193, allocations: 175.8 kB / 16.78 MB, free: 5.043 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.666/1.666, 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.0007199/0.0007199, allocations: 102.6 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.06472/0.06472, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 12.38 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07338/0.07374, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.001495/0.07528, allocations: 1.42 MB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005828/0.07588, allocations: 495.7 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.07598, allocations: 7.938 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.07603, allocations: 7.922 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.07609, allocations: 3.938 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.07637, allocations: 47.89 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.5e-05/0.07647, allocations: 63.78 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.07658, allocations: 31.98 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.07666, allocations: 23.86 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.07672, allocations: 31.78 kB / 443.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.07675, allocations: 4 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.07677, allocations: 4 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.07679, allocations: 11.94 kB / 443.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.07684, allocations: 23.81 kB / 443.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.266e-05/0.07693, allocations: 60 kB / 443.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.07694, allocations: 0 / 443.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.07695, allocations: 0 / 443.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.07696, allocations: 0 / 443.9 MB, free: 14.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003581/0.07732, allocations: 375.1 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.07736, allocations: 12.03 kB / 444.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.0774, allocations: 12.78 kB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.07755, allocations: 202 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.07757, allocations: 8.375 kB / 444.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.07759, allocations: 4.375 kB / 444.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.07788, allocations: 178.1 kB / 444.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.0779, allocations: 0 / 444.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.07792, allocations: 3.938 kB / 444.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.07793, allocations: 0 / 444.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.07802, allocations: 35.98 kB / 444.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.07827, allocations: 282.5 kB / 445 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.07847, allocations: 180.9 kB / 445.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.07857, allocations: 62.62 kB / 445.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.07859, allocations: 11.92 kB / 445.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.07861, allocations: 30.56 kB / 445.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.07862, allocations: 3.984 kB / 445.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002785/0.0789, allocations: 129.4 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.07894, allocations: 106.8 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.07902, allocations: 130 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.07903, allocations: 25.7 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.07907, allocations: 92.14 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.07909, allocations: 7.891 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.07912, allocations: 17.84 kB / 445.8 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.07918, allocations: 322.8 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.07923, allocations: 16 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.07929, allocations: 63.72 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.07941, allocations: 103.6 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.07942, allocations: 3.938 kB / 446.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001515/0.07958, allocations: 109.6 kB / 446.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.0796, allocations: 8 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.07962, allocations: 0 / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.07964, allocations: 7.938 kB / 446.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.07972, allocations: 19.98 kB / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.07974, allocations: 0 / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.0798, allocations: 15.94 kB / 446.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.07981, allocations: 4 kB / 446.4 MB, free: 11.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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.368e-05/0.07987, allocations: 130.6 kB / 446.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.0799, allocations: 7.906 kB / 446.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.07994, allocations: 12.31 kB / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.07995, allocations: 0 / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.07995, allocations: 0 / 446.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.07998, allocations: 93 kB / 446.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.08, allocations: 0 / 446.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.08008, allocations: 4 kB / 446.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.08012, allocations: 3.938 kB / 446.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002031/0.08033, allocations: 339.4 kB / 447 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001866/0.08053, allocations: 429.4 kB / 447.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.271e-05/0.0806, allocations: 31.97 kB / 447.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.08064, allocations: 105.6 kB / 447.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Backend: time 5.11e-07/0.08065, allocations: 0 / 447.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.0811, allocations: 106.3 kB / 447.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004178/0.08153, allocations: 0.6543 MB / 448.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of Templates: time 0.002464/0.084, allocations: 0.8395 MB / 449.2 MB, free: 8.441 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)