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.001031/0.001031, allocations: 101.2 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 178.3 kB / 16.62 MB, free: 6.422 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.774/1.774, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08798/0.08798, allocations: 12.6 MB / 283.6 MB, free: 8.699 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.0008501/0.0008508, allocations: 24 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1073, allocations: 50.39 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.001934/0.1093, allocations: 1.387 MB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.1102, allocations: 0.4883 MB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1103, allocations: 7.938 kB / 396.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.1103, allocations: 7.938 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.1104, allocations: 3.984 kB / 396.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1107, allocations: 47.83 kB / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1109, allocations: 39.94 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.111, allocations: 23.98 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1111, allocations: 35.84 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.1112, allocations: 27.8 kB / 397 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1112, allocations: 0 / 397 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.1113, allocations: 4 kB / 397 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.1113, allocations: 7.922 kB / 397 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1113, allocations: 41.64 kB / 397 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.183e-05/0.1114, allocations: 36.2 kB / 397 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1114, allocations: 4 kB / 397 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1114, allocations: 0 / 397 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1114, allocations: 0 / 397 MB, free: 0.6211 MB / 286.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.0004955/0.1119, allocations: 383 kB / 397.4 MB, free: 204 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.112, allocations: 11.97 kB / 397.4 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.112, allocations: 7.906 kB / 397.4 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1123, allocations: 214.7 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1123, allocations: 4 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1123, allocations: 4 kB / 397.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.1127, allocations: 186.6 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1128, allocations: 0 / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1128, allocations: 4 kB / 397.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.1128, allocations: 4 kB / 397.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1129, allocations: 47.91 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.1133, allocations: 287.5 kB / 398.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1136, allocations: 211.6 kB / 398.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1136, allocations: 3.938 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1137, allocations: 38.62 kB / 398.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1137, allocations: 4 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003395/0.114, allocations: 137.4 kB / 398.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1141, allocations: 144.4 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.1142, allocations: 133.4 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1142, allocations: 29.7 kB / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.1143, allocations: 96.05 kB / 399 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1143, allocations: 15.86 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.1143, allocations: 4 kB / 399 MB, free: 14.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.1144, allocations: 318.8 kB / 399.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.1144, allocations: 19.98 kB / 399.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.1145, allocations: 85.44 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.1146, allocations: 31.92 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1146, allocations: 0 / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001915/0.1148, allocations: 125.4 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1148, allocations: 8 kB / 399.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1149, allocations: 0 / 399.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1149, allocations: 4 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.115, allocations: 27.92 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.115, allocations: 4 kB / 399.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.1151, allocations: 8.25 kB / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1151, allocations: 12 kB / 399.6 MB, free: 13.72 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1152, allocations: 133.5 kB / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1153, allocations: 89.52 kB / 399.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.1154, allocations: 16.31 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1154, allocations: 0 / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1154, allocations: 4 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1154, allocations: 3.984 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1156, allocations: 181.5 kB / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1156, allocations: 240 / 400 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.1157, allocations: 32.02 kB / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1157, allocations: 0 / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1157, allocations: 4 kB / 400.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1157, allocations: 3.938 kB / 400.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1157, allocations: 8.234 kB / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.116, allocations: 267.3 kB / 400.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.1161, allocations: 89.02 kB / 400.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1161, allocations: 3.984 kB / 400.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.1162, allocations: 4 kB / 400.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1162, allocations: 11.95 kB / 400.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1162, allocations: 4 kB / 400.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.703e-05/0.1163, allocations: 111 kB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1163, allocations: 0 / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1165, allocations: 12 kB / 400.6 MB, free: 12.64 MB / 302.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 (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.0001056/0.1167, allocations: 99.23 kB / 400.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1169, allocations: 71.97 kB / 400.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1169, allocations: 3.938 kB / 400.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.1169, allocations: 12 kB / 400.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1173, allocations: 59.95 kB / 400.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1177, allocations: 240.6 kB / 401 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1179, allocations: 0.7004 MB / 401.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.866e-05/0.118, allocations: 8.562 kB / 401.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.118, allocations: 19.42 kB / 401.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.118, allocations: 0 / 401.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003375/0.1214, allocations: 0.8634 MB / 402.6 MB, free: 10.5 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: