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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 185.6 kB / 7.847 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009668/0.0009668, allocations: 84.42 kB / 261.5 MB, free: 13.54 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.07154/0.07154, allocations: 12.6 MB / 322 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.973e-06, allocations: 4 kB / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08704, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.345, allocations: 77.42 MB / 0.4943 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.3452, allocations: 57.8 kB / 0.4944 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003617/0.3488, allocations: 1.097 MB / 0.4954 GB, free: 11.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3489, allocations: 0 / 0.4954 GB, free: 11.56 MB / 330.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.0003223/0.3492, allocations: 359.3 kB / 0.4958 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3492, allocations: 7.688 kB / 0.4958 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3493, allocations: 11.66 kB / 0.4958 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.3495, allocations: 197.8 kB / 0.496 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3495, allocations: 0.7969 kB / 0.496 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3495, allocations: 7.812 kB / 0.496 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.3497, allocations: 31.5 kB / 0.496 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3499, allocations: 144.6 kB / 0.4962 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3499, allocations: 6.344 kB / 0.4962 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.35, allocations: 0 / 0.4962 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.35, allocations: 7.984 kB / 0.4962 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.3503, allocations: 261.2 kB / 0.4964 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.3506, allocations: 173.1 kB / 0.4966 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.3506, allocations: 46.03 kB / 0.4966 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.3507, allocations: 8.109 kB / 0.4966 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3507, allocations: 35.86 kB / 0.4967 GB, free: 10.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3507, allocations: 4 kB / 0.4967 GB, free: 10.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002018/0.3509, allocations: 80.67 kB / 0.4968 GB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.351, allocations: 103.5 kB / 0.4969 GB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.351, allocations: 115.8 kB / 0.497 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3511, allocations: 25.7 kB / 0.497 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.3511, allocations: 90.06 kB / 0.4971 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.3511, allocations: 12.92 kB / 0.4971 GB, free: 10.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.3511, allocations: 4.031 kB / 0.4971 GB, free: 10.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.3512, allocations: 321 kB / 0.4974 GB, free: 9.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.3512, allocations: 7.375 kB / 0.4974 GB, free: 9.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.3513, allocations: 60.95 kB / 0.4975 GB, free: 9.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.3513, allocations: 20.28 kB / 0.4975 GB, free: 9.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3513, allocations: 0 / 0.4975 GB, free: 9.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001121/0.3514, allocations: 84.25 kB / 0.4976 GB, free: 9.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3515, allocations: 4.531 kB / 0.4976 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3515, allocations: 7.781 kB / 0.4976 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3515, allocations: 3.906 kB / 0.4976 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.3516, allocations: 18.28 kB / 0.4976 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3516, allocations: 1.031 kB / 0.4976 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.3517, allocations: 12.44 kB / 0.4976 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3517, allocations: 3.844 kB / 0.4976 GB, free: 9.566 MB / 330.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 5.104e-05/0.3517, allocations: 113.1 kB / 0.4977 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.3518, allocations: 67.75 kB / 0.4978 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3519, allocations: 12.59 kB / 0.4978 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3519, allocations: 7.75 kB / 0.4978 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3519, allocations: 0 / 0.4978 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3519, allocations: 0.8438 kB / 0.4978 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.352, allocations: 154.4 kB / 0.498 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.352, allocations: 4.125 kB / 0.498 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.3521, allocations: 26.61 kB / 0.498 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3521, allocations: 3.906 kB / 0.498 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3521, allocations: 4.297 kB / 0.498 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3522, allocations: 0.5625 kB / 0.498 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3522, allocations: 3.938 kB / 0.498 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001371/0.3523, allocations: 219.6 kB / 0.4982 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.3523, allocations: 85.83 kB / 0.4983 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3524, allocations: 0.7031 kB / 0.4983 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.3525, allocations: 4.594 kB / 0.4983 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.3525, allocations: 4.734 kB / 0.4983 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3525, allocations: 4.547 kB / 0.4983 GB, free: 8.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.387e-05/0.3525, allocations: 97.39 kB / 0.4984 GB, free: 8.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.3528, allocations: 7.781 kB / 0.4984 GB, free: 8.859 MB / 330.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 7.677e-05/0.3529, allocations: 99.31 kB / 0.4985 GB, free: 8.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.353, allocations: 43.39 kB / 0.4985 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.353, allocations: 0 / 0.4985 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.41e-05/0.353, allocations: 8.25 kB / 0.4985 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3533, allocations: 40.55 kB / 0.4986 GB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.3536, allocations: 124.1 kB / 0.4987 GB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3538, allocations: 0.715 MB / 0.4994 GB, free: 7.938 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3538, allocations: 0 / 0.4994 GB, free: 7.938 MB / 330.7 MB Notification: Performance of Templates: time 0.002966/0.3567, allocations: 0.7802 MB / 0.5002 GB, free: 7.863 MB / 330.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)