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.001079/0.001078, allocations: 168.9 kB / 16.8 MB, free: 4.996 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.627/1.627, allocations: 205.4 MB / 223 MB, free: 9.02 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.001027/0.001026, allocations: 87.86 kB / 271.3 MB, free: 8.246 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.08006/0.08006, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004437, allocations: 12 kB / 393.3 MB, free: 65.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.09932, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.001747/0.1011, allocations: 1.397 MB / 445.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.1018, allocations: 0.4919 MB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.1019, allocations: 0 / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.1019, allocations: 3.938 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.102, allocations: 15.92 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1023, allocations: 43.89 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.1024, allocations: 67.78 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1025, allocations: 27.98 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.1026, allocations: 27.86 kB / 445.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.1027, allocations: 27.8 kB / 445.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1027, allocations: 0 / 445.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.1027, allocations: 4 kB / 445.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.1028, allocations: 11.92 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.1028, allocations: 53.5 kB / 445.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.742e-05/0.1029, allocations: 44.2 kB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1029, allocations: 0 / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1029, allocations: 0 / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1029, allocations: 0 / 445.9 MB, free: 13.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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004168/0.1034, allocations: 379.1 kB / 446.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1034, allocations: 8.031 kB / 446.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.1034, allocations: 8.844 kB / 446.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1036, allocations: 209.4 kB / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1037, allocations: 8.375 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1037, allocations: 4.375 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.104, allocations: 178 kB / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.104, allocations: 0 / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.104, allocations: 0 / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.1041, allocations: 0 / 446.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1042, allocations: 43.91 kB / 446.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.1045, allocations: 282.5 kB / 447 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1047, allocations: 184.9 kB / 447.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.1048, allocations: 50.62 kB / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1048, allocations: 4 kB / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.1048, allocations: 38.5 kB / 447.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1048, allocations: 0 / 447.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002924/0.1051, allocations: 133.5 kB / 447.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1052, allocations: 111 kB / 447.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.1053, allocations: 126 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1053, allocations: 33.7 kB / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.1053, allocations: 84.27 kB / 447.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1054, allocations: 15.91 kB / 447.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1054, allocations: 0 / 447.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.1054, allocations: 318.8 kB / 448.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.1055, allocations: 23.92 kB / 448.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.1055, allocations: 67.72 kB / 448.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1057, allocations: 99.53 kB / 448.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1057, allocations: 0 / 448.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001562/0.1058, allocations: 109.4 kB / 448.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1059, allocations: 12.92 kB / 448.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1059, allocations: 0 / 448.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1059, allocations: 7.984 kB / 448.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.106, allocations: 19.94 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.106, allocations: 3.984 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.1061, allocations: 16.22 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1061, allocations: 11.94 kB / 448.4 MB, free: 10.31 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 6.591e-05/0.1062, allocations: 118.7 kB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.1063, allocations: 77.53 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1063, allocations: 16.3 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1063, allocations: 4 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1063, allocations: 0 / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1063, allocations: 0 / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1065, allocations: 177.6 kB / 448.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1065, allocations: 0 / 448.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.1066, allocations: 23.98 kB / 448.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1066, allocations: 192 / 448.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1066, allocations: 4 kB / 448.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1066, allocations: 11.88 kB / 448.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1066, allocations: 0 / 448.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1068, allocations: 213 kB / 449.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.1068, allocations: 92.94 kB / 449.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1068, allocations: 0 / 449.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1069, allocations: 4 kB / 449.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1069, allocations: 320 / 449.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1069, allocations: 4 kB / 449.2 MB, free: 9.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.107, allocations: 99.27 kB / 449.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.107, allocations: 0 / 449.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.1072, allocations: 16 kB / 449.3 MB, free: 9.363 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (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 Backend phase and start with SimCode phase: time 7.961e-05/0.1073, allocations: 99.23 kB / 449.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1075, allocations: 63.84 kB / 449.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1075, allocations: 0 / 449.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.1075, allocations: 16.56 kB / 449.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1079, allocations: 43.89 kB / 449.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.1083, allocations: 256.3 kB / 449.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.1084, allocations: 0.6966 MB / 450.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.1085, allocations: 15.42 kB / 450.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1085, allocations: 0 / 450.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of Templates: time 0.002261/0.1108, allocations: 1.073 MB / 451.5 MB, free: 7.039 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)