Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.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.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 177.6 kB / 8.045 MB, free: 1.027 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.562/1.562, allocations: 205.3 MB / 213.8 MB, free: 1.684 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.0008378/0.0008378, allocations: 83.55 kB / 261.8 MB, free: 1.629 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.07044/0.07044, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.419e-05, allocations: 0 / 378.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2248, allocations: 50.39 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09706/0.3219, allocations: 77.51 MB / 0.4949 GB, free: 4.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3221, allocations: 55.98 kB / 0.495 GB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003827/0.326, allocations: 1.451 MB / 0.4964 GB, free: 3.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.326, allocations: 0 / 0.4964 GB, free: 3.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.326, allocations: 0 / 0.4964 GB, free: 3.234 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.0003699/0.3264, allocations: 374.2 kB / 0.4968 GB, free: 2.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3264, allocations: 11.97 kB / 0.4968 GB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.3265, allocations: 7.906 kB / 0.4968 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3267, allocations: 198.9 kB / 0.497 GB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3267, allocations: 3.953 kB / 0.497 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3267, allocations: 4 kB / 0.497 GB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.3268, allocations: 31.98 kB / 0.497 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3271, allocations: 154.7 kB / 0.4972 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3271, allocations: 0 / 0.4972 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3271, allocations: 0 / 0.4972 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3271, allocations: 4 kB / 0.4972 GB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3275, allocations: 283.8 kB / 0.4974 GB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3277, allocations: 195.6 kB / 0.4976 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.3278, allocations: 59.52 kB / 0.4977 GB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3278, allocations: 4 kB / 0.4977 GB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3278, allocations: 34.5 kB / 0.4977 GB, free: 1.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3278, allocations: 0 / 0.4977 GB, free: 1.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001952/0.3281, allocations: 97.52 kB / 0.4978 GB, free: 1.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.3281, allocations: 132.5 kB / 0.4979 GB, free: 1.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.3282, allocations: 113.2 kB / 0.498 GB, free: 1.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3283, allocations: 25.7 kB / 0.4981 GB, free: 1.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.3283, allocations: 92.14 kB / 0.4981 GB, free: 1.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.3283, allocations: 7.984 kB / 0.4982 GB, free: 1.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.3283, allocations: 4.062 kB / 0.4982 GB, free: 1.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3285, allocations: 322.8 kB / 0.4985 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.3285, allocations: 8 kB / 0.4985 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.3285, allocations: 73.39 kB / 0.4985 GB, free: 0.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.3286, allocations: 23.98 kB / 0.4986 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3286, allocations: 0 / 0.4986 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001375/0.3287, allocations: 109.2 kB / 0.4987 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3288, allocations: 4 kB / 0.4987 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3288, allocations: 4 kB / 0.4987 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3288, allocations: 4 kB / 0.4987 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.3289, allocations: 23.92 kB / 0.4987 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3289, allocations: 4 kB / 0.4987 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.329, allocations: 12.28 kB / 0.4987 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.329, allocations: 8 kB / 0.4987 GB, free: 0.5117 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.479e-05/0.3291, allocations: 108.9 kB / 0.4988 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3292, allocations: 85.59 kB / 0.4989 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3293, allocations: 16.41 kB / 0.4989 GB, free: 304 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3293, allocations: 8.016 kB / 0.4989 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3293, allocations: 4 kB / 0.4989 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3293, allocations: 0 / 0.4989 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3294, allocations: 166 kB / 0.4991 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3295, allocations: 4 kB / 0.4991 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.3295, allocations: 19.98 kB / 0.4991 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3296, allocations: 0 / 0.4991 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3296, allocations: 11.94 kB / 0.4991 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3296, allocations: 0 / 0.4991 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3296, allocations: 4 kB / 0.4991 GB, free: 48 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3298, allocations: 239.1 kB / 0.4994 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.3299, allocations: 88.95 kB / 0.4995 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3299, allocations: 4 kB / 0.4995 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.33, allocations: 0 / 0.4995 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.33, allocations: 4 kB / 0.4995 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.33, allocations: 11.98 kB / 0.4995 GB, free: 15.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.3301, allocations: 96.69 kB / 0.4996 GB, free: 15.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3301, allocations: 3.938 kB / 0.4996 GB, free: 15.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.3303, allocations: 8 kB / 0.4996 GB, free: 15.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.706e-05/0.3304, allocations: 91.25 kB / 0.4997 GB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3306, allocations: 56.48 kB / 0.4997 GB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.3306, allocations: 0 / 0.4997 GB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.3306, allocations: 8.062 kB / 0.4997 GB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3309, allocations: 51.92 kB / 0.4998 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3312, allocations: 122.9 kB / 0.4999 GB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3315, allocations: 0.7119 MB / 0.5006 GB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.673e-05/0.3315, allocations: 8.719 kB / 0.5006 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3316, allocations: 15.44 kB / 0.5006 GB, free: 14.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3316, allocations: 0 / 0.5006 GB, free: 14.4 MB / 362.7 MB Notification: Performance of Templates: time 0.003014/0.3346, allocations: 0.8452 MB / 0.5014 GB, free: 13.57 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)