Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001009/0.001009, allocations: 177.5 kB / 16.45 MB, free: 5.684 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.519/1.519, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.0008185/0.0008183, allocations: 100.9 kB / 270.9 MB, free: 8.352 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.08369/0.08369, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 15.98 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.0788, allocations: 50.38 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.001659/0.08051, allocations: 1.373 MB / 443.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.08153, allocations: 0.4883 MB / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.08163, allocations: 0 / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.08168, allocations: 7.922 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.08176, allocations: 11.88 kB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.08212, allocations: 35.97 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.08225, allocations: 63.72 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.08239, allocations: 31.97 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.0825, allocations: 23.86 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.08259, allocations: 27.8 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.08262, allocations: 4 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.08265, allocations: 0 / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.08268, allocations: 15.91 kB / 444.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.08272, allocations: 33.7 kB / 444.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.471e-05/0.08281, allocations: 39.94 kB / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.08283, allocations: 0 / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08284, allocations: 0 / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.08286, allocations: 0 / 444.5 MB, free: 14.29 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.0004674/0.08333, allocations: 387.1 kB / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.08338, allocations: 8.031 kB / 444.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.08344, allocations: 7.906 kB / 444.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.08365, allocations: 198.8 kB / 445.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.08368, allocations: 8 kB / 445.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.08371, allocations: 8 kB / 445.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.08417, allocations: 165.7 kB / 445.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.0842, allocations: 0 / 445.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.08422, allocations: 4 kB / 445.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.08424, allocations: 4 kB / 445.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.08441, allocations: 39.91 kB / 445.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.08476, allocations: 282.6 kB / 445.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.08506, allocations: 180.9 kB / 445.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.08521, allocations: 50.62 kB / 445.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.08526, allocations: 8 kB / 445.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.08529, allocations: 42.48 kB / 445.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.0853, allocations: 0 / 445.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004562/0.08577, allocations: 121.7 kB / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.08583, allocations: 114.9 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.08594, allocations: 126 kB / 446.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.08596, allocations: 25.7 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.08601, allocations: 100 kB / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.08605, allocations: 7.984 kB / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.08606, allocations: 7.938 kB / 446.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.08613, allocations: 314.8 kB / 446.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.08622, allocations: 19.98 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.08632, allocations: 71.66 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.08642, allocations: 31.92 kB / 446.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.08644, allocations: 0 / 446.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002634/0.08671, allocations: 109.5 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.08674, allocations: 4 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.08676, allocations: 8 kB / 446.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.08679, allocations: 4 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.08692, allocations: 19.98 kB / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.08694, allocations: 0 / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.08704, allocations: 8.281 kB / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.08707, allocations: 11.95 kB / 447 MB, free: 11.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.08716, allocations: 133.5 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.08732, allocations: 73.53 kB / 447.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.08738, allocations: 12.31 kB / 447.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.08739, allocations: 4 kB / 447.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.08741, allocations: 0 / 447.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.08742, allocations: 3.938 kB / 447.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.08762, allocations: 185.5 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.08764, allocations: 3.984 kB / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.08778, allocations: 20 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.08779, allocations: 0 / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.08781, allocations: 3.984 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.08783, allocations: 4 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.08784, allocations: 0 / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.08812, allocations: 213 kB / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.08816, allocations: 81.02 kB / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.0882, allocations: 8 kB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.08835, allocations: 7.984 kB / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.0884, allocations: 0 / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.08842, allocations: 4.234 kB / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.08849, allocations: 103.2 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.0885, allocations: 0 / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.08893, allocations: 15.94 kB / 447.8 MB, free: 10.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.006e-05/0.08903, allocations: 91.25 kB / 447.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.08928, allocations: 64.12 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.0893, allocations: 0 / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.08938, allocations: 16.55 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.08999, allocations: 51.89 kB / 448 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.09043, allocations: 248.7 kB / 448.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.09057, allocations: 0.6926 MB / 449 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.09062, allocations: 11.44 kB / 449 MB, free: 9.312 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.09064, allocations: 0 / 449 MB, free: 9.312 MB / 298.7 MB Notification: Performance of Templates: time 0.002998/0.09364, allocations: 1.082 MB / 450.1 MB, free: 8.23 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)