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.002009/0.002009, allocations: 177.8 kB / 8.403 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.3 MB / 214.1 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 82.28 kB / 262.1 MB, free: 1.684 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.09966/0.09966, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.96e-05, allocations: 0 / 378.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 50.37 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.4511, allocations: 77.49 MB / 0.4949 GB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4514, allocations: 55.98 kB / 0.4949 GB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005709/0.4571, allocations: 1.404 MB / 0.4963 GB, free: 3.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4572, allocations: 7.875 kB / 0.4963 GB, free: 3.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4572, allocations: 4 kB / 0.4963 GB, free: 3.336 MB / 346.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.0004656/0.4577, allocations: 362.3 kB / 0.4967 GB, free: 2.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4577, allocations: 16.03 kB / 0.4967 GB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4578, allocations: 11.81 kB / 0.4967 GB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.458, allocations: 190.9 kB / 0.4969 GB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4581, allocations: 3.953 kB / 0.4969 GB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.4581, allocations: 4 kB / 0.4969 GB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001449/0.4583, allocations: 28 kB / 0.4969 GB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.4586, allocations: 149.8 kB / 0.4971 GB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4587, allocations: 0 / 0.4971 GB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4587, allocations: 0 / 0.4971 GB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.4587, allocations: 4 kB / 0.4971 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.4592, allocations: 267.1 kB / 0.4973 GB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.4595, allocations: 165.1 kB / 0.4975 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.4596, allocations: 50.45 kB / 0.4975 GB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4596, allocations: 3.984 kB / 0.4975 GB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.4597, allocations: 42.64 kB / 0.4976 GB, free: 1.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.4597, allocations: 0 / 0.4976 GB, free: 1.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002586/0.46, allocations: 81.53 kB / 0.4976 GB, free: 1.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.4601, allocations: 110.8 kB / 0.4978 GB, free: 1.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4602, allocations: 106.5 kB / 0.4979 GB, free: 1.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4602, allocations: 29.7 kB / 0.4979 GB, free: 1.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.4603, allocations: 162.6 kB / 0.498 GB, free: 1.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.4603, allocations: 11.83 kB / 0.498 GB, free: 1.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.4604, allocations: 0 / 0.498 GB, free: 1.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4605, allocations: 318.8 kB / 0.4984 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.4606, allocations: 4 kB / 0.4984 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.4606, allocations: 67.67 kB / 0.4984 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.002e-05/0.4607, allocations: 11.98 kB / 0.4984 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4607, allocations: 3.953 kB / 0.4984 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001874/0.4609, allocations: 85.5 kB / 0.4985 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4609, allocations: 4 kB / 0.4985 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.461, allocations: 4 kB / 0.4985 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.461, allocations: 0 / 0.4985 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4611, allocations: 19.98 kB / 0.4985 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.4612, allocations: 4.188 kB / 0.4985 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.4613, allocations: 8.266 kB / 0.4986 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4613, allocations: 11.94 kB / 0.4986 GB, free: 0.7383 MB / 346.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 () * 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.563e-05/0.4614, allocations: 108.9 kB / 0.4987 GB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.4616, allocations: 73.55 kB / 0.4987 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.4616, allocations: 16.34 kB / 0.4988 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4616, allocations: 0 / 0.4988 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4617, allocations: 0 / 0.4988 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4617, allocations: 3.984 kB / 0.4988 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.4619, allocations: 158.1 kB / 0.4989 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4619, allocations: 0 / 0.4989 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4621, allocations: 23.98 kB / 0.4989 GB, free: 324 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4621, allocations: 3.953 kB / 0.4989 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4621, allocations: 0 / 0.4989 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.4621, allocations: 4 kB / 0.4989 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4621, allocations: 3.938 kB / 0.4989 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.4624, allocations: 216.5 kB / 0.4992 GB, free: 60 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.4625, allocations: 85.02 kB / 0.4992 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4625, allocations: 0 / 0.4992 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4627, allocations: 7.984 kB / 0.4992 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.4627, allocations: 0 / 0.4992 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4627, allocations: 4 kB / 0.4992 GB, free: 15.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.773e-05/0.4628, allocations: 96.95 kB / 0.4993 GB, free: 15.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4628, allocations: 0 / 0.4993 GB, free: 15.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.4632, allocations: 12 kB / 0.4993 GB, free: 15.84 MB / 362.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 () * 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 0.0001239/0.4633, allocations: 99.19 kB / 0.4994 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.4635, allocations: 35.94 kB / 0.4995 GB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4635, allocations: 0 / 0.4995 GB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.4635, allocations: 8 kB / 0.4995 GB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.4639, allocations: 55.84 kB / 0.4995 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.4643, allocations: 148.2 kB / 0.4997 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4647, allocations: 0.7002 MB / 0.5004 GB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.4647, allocations: 11.44 kB / 0.5004 GB, free: 14.72 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4647, allocations: 0 / 0.5004 GB, free: 14.72 MB / 362.7 MB Notification: Performance of Templates: time 0.003378/0.4681, allocations: 1.04 MB / 0.5014 GB, free: 13.69 MB / 362.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)