Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") [: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.001758/0.001758, allocations: 182.8 kB / 7.844 MB, free: 2.508 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.196/1.196, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008762/0.0008762, allocations: 91.86 kB / 261.5 MB, free: 13.55 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.06656/0.06656, allocations: 12.6 MB / 322 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.772e-06/6.792e-06, allocations: 0 / 378.4 MB, free: 75.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.0733, allocations: 50.37 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2657/0.3391, allocations: 77.67 MB / 0.4946 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3394, allocations: 63.89 kB / 0.4946 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005296/0.3447, allocations: 1.46 MB / 0.496 GB, free: 11.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3447, allocations: 7.938 kB / 0.4961 GB, free: 11.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003294/0.3451, allocations: 357.3 kB / 0.4964 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.3451, allocations: 12 kB / 0.4964 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.3452, allocations: 11.66 kB / 0.4964 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3454, allocations: 196.5 kB / 0.4966 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3454, allocations: 0 / 0.4966 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3455, allocations: 7.844 kB / 0.4966 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.735e-05/0.3456, allocations: 29.5 kB / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.3458, allocations: 97.14 kB / 0.4967 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3458, allocations: 0 / 0.4967 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3459, allocations: 0 / 0.4967 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3459, allocations: 0 / 0.4967 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3462, allocations: 258.7 kB / 0.497 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3466, allocations: 78.31 kB / 0.4971 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.3467, allocations: 20.33 kB / 0.4971 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3467, allocations: 0.7969 kB / 0.4971 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3467, allocations: 34.17 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3467, allocations: 0 / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000203/0.3469, allocations: 62.81 kB / 0.4972 GB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.347, allocations: 82.69 kB / 0.4972 GB, free: 10.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3471, allocations: 125.8 kB / 0.4974 GB, free: 10.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3471, allocations: 29.55 kB / 0.4974 GB, free: 10.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.3472, allocations: 89.59 kB / 0.4975 GB, free: 10.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3472, allocations: 5 kB / 0.4975 GB, free: 10.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.3472, allocations: 0 / 0.4975 GB, free: 10.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3473, allocations: 320.8 kB / 0.4978 GB, free: 9.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.3473, allocations: 11.03 kB / 0.4978 GB, free: 9.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.3474, allocations: 45.42 kB / 0.4978 GB, free: 9.832 MB / 330.7 MB Notification: The following equation is consistent and got removed from the initialization problem: firstOrder.y = firstOrder.y_start Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3475, allocations: 101.7 kB / 0.4979 GB, free: 9.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3475, allocations: 0 / 0.4979 GB, free: 9.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001219/0.3477, allocations: 71.38 kB / 0.498 GB, free: 9.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3477, allocations: 3.75 kB / 0.498 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3477, allocations: 5.266 kB / 0.498 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3477, allocations: 0 / 0.498 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.3478, allocations: 17.75 kB / 0.498 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3478, allocations: 3.938 kB / 0.498 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.3479, allocations: 12.88 kB / 0.4981 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3479, allocations: 4.062 kB / 0.4981 GB, free: 9.68 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: firstOrder.y = firstOrder.y_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.346e-05/0.348, allocations: 110.3 kB / 0.4982 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.3481, allocations: 55.38 kB / 0.4982 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.3481, allocations: 16.48 kB / 0.4982 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3481, allocations: 1.359 kB / 0.4982 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3481, allocations: 0 / 0.4982 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3481, allocations: 3.938 kB / 0.4982 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.3483, allocations: 150.7 kB / 0.4984 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3483, allocations: 4.016 kB / 0.4984 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3484, allocations: 21.31 kB / 0.4984 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3484, allocations: 3.875 kB / 0.4984 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3484, allocations: 7.938 kB / 0.4984 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3484, allocations: 1.734 kB / 0.4984 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3484, allocations: 3.984 kB / 0.4984 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001102/0.3485, allocations: 177.6 kB / 0.4986 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3486, allocations: 96.8 kB / 0.4987 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3486, allocations: 3.188 kB / 0.4987 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.3487, allocations: 4.891 kB / 0.4987 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.3487, allocations: 4.969 kB / 0.4987 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3488, allocations: 0.9375 kB / 0.4987 GB, free: 9.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.489e-05/0.3488, allocations: 111.2 kB / 0.4988 GB, free: 9.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.3491, allocations: 11.72 kB / 0.4988 GB, free: 9.012 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 6.797e-05/0.3491, allocations: 98.59 kB / 0.4989 GB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.3493, allocations: 36.47 kB / 0.4989 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3493, allocations: 0 / 0.4989 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.3493, allocations: 3.562 kB / 0.4989 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3496, allocations: 34.17 kB / 0.499 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.3498, allocations: 104.5 kB / 0.4991 GB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.35, allocations: 0.7201 MB / 0.4998 GB, free: 8.121 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.35, allocations: 0 / 0.4998 GB, free: 8.121 MB / 330.7 MB Notification: Performance of Templates: time 0.002578/0.3526, allocations: 0.6964 MB / 0.5005 GB, free: 8.051 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)