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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 104.2 kB / 16.02 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 189.8 kB / 16.95 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08084/0.08084, allocations: 12.59 MB / 282.7 MB, free: 15.64 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002029, allocations: 92.72 kB / 343 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3063, allocations: 49.38 MB / 392.4 MB, free: 49.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.002785/0.3091, allocations: 1.771 MB / 394.1 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.3099, allocations: 0.512 MB / 394.6 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.31, allocations: 6.969 kB / 394.6 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.31, allocations: 5.672 kB / 394.6 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.3101, allocations: 10.7 kB / 394.7 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.3104, allocations: 39.02 kB / 394.7 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3105, allocations: 76.25 kB / 394.8 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3106, allocations: 37 kB / 394.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.3107, allocations: 36.41 kB / 394.8 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.3108, allocations: 30.3 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3108, allocations: 4.906 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.3108, allocations: 5.281 kB / 394.9 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.3109, allocations: 13.45 kB / 394.9 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3109, allocations: 42.52 kB / 394.9 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.311, allocations: 67.53 kB / 395 MB, free: 47.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.311, allocations: 0 / 395 MB, free: 47.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3111, allocations: 0 / 395 MB, free: 47.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3111, allocations: 2.109 kB / 395 MB, free: 47.61 MB / 318.1 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.0004002/0.3115, allocations: 392 kB / 395.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3115, allocations: 9.75 kB / 395.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.3116, allocations: 10.44 kB / 395.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3117, allocations: 209.9 kB / 395.6 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3117, allocations: 6.969 kB / 395.6 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3118, allocations: 8.25 kB / 395.6 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.3121, allocations: 180.1 kB / 395.8 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3121, allocations: 0 / 395.8 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3121, allocations: 1.5 kB / 395.8 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3121, allocations: 1.219 kB / 395.8 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3123, allocations: 43.58 kB / 395.8 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.3125, allocations: 291.2 kB / 396.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3128, allocations: 202.9 kB / 396.3 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3129, allocations: 66.5 kB / 396.4 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.3129, allocations: 7.797 kB / 396.4 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.313, allocations: 41.55 kB / 396.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.313, allocations: 0 / 396.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003306/0.3133, allocations: 137.6 kB / 396.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3134, allocations: 136.5 kB / 396.7 MB, free: 46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.3135, allocations: 139 kB / 396.8 MB, free: 45.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.3135, allocations: 30.47 kB / 396.9 MB, free: 45.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.3135, allocations: 96.53 kB / 397 MB, free: 45.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3135, allocations: 11.58 kB / 397 MB, free: 45.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3136, allocations: 21.5 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.3136, allocations: 332.7 kB / 397.3 MB, free: 45.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.3137, allocations: 13.17 kB / 397.3 MB, free: 45.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.3138, allocations: 86.44 kB / 397.4 MB, free: 45.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3139, allocations: 112 kB / 397.5 MB, free: 45.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3139, allocations: 0 / 397.5 MB, free: 45.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001747/0.3141, allocations: 121.6 kB / 397.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3141, allocations: 5.938 kB / 397.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3141, allocations: 2.234 kB / 397.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3141, allocations: 4.438 kB / 397.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.3142, allocations: 28.16 kB / 397.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3142, allocations: 9.281 kB / 397.7 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.3143, allocations: 11.64 kB / 397.7 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3143, allocations: 6.578 kB / 397.7 MB, free: 45.11 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.3144, allocations: 129.1 kB / 397.8 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3145, allocations: 93.27 kB / 397.9 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.3146, allocations: 12.95 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3146, allocations: 3.016 kB / 398 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3146, allocations: 1.188 kB / 398 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3146, allocations: 6.094 kB / 398 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3148, allocations: 182.7 kB / 398.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3148, allocations: 1.469 kB / 398.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.3149, allocations: 24.12 kB / 398.2 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3149, allocations: 1.969 kB / 398.2 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3149, allocations: 4.031 kB / 398.2 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3149, allocations: 320 / 398.2 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3149, allocations: 2.375 kB / 398.2 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.3151, allocations: 234.8 kB / 398.4 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.3152, allocations: 93.3 kB / 398.5 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3152, allocations: 2.297 kB / 398.5 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.3153, allocations: 5.734 kB / 398.5 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3153, allocations: 0.5625 kB / 398.5 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3153, allocations: 4.203 kB / 398.5 MB, free: 44.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.3154, allocations: 106.5 kB / 398.6 MB, free: 44.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3154, allocations: 1.062 kB / 398.6 MB, free: 44.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3156, allocations: 13.44 kB / 398.6 MB, free: 44.3 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.8e-05/0.3157, allocations: 98.33 kB / 398.7 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3159, allocations: 76.97 kB / 398.8 MB, free: 44.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3159, allocations: 4.125 kB / 398.8 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.316, allocations: 8.234 kB / 398.8 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.3164, allocations: 65.56 kB / 398.9 MB, free: 44.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.3168, allocations: 247 kB / 399.1 MB, free: 43.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3169, allocations: 0.7009 MB / 399.8 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.548e-05/0.317, allocations: 8.172 kB / 399.8 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.317, allocations: 15.97 kB / 399.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.317, allocations: 1.281 kB / 399.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of Templates: time 0.002925/0.3199, allocations: 0.9741 MB / 400.8 MB, free: 42.73 MB / 318.1 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)