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.001443/0.001443, allocations: 103.2 kB / 16.45 MB, free: 6.43 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.001447/0.001447, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.856/1.856, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.0948/0.0948, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.002955/0.002955, allocations: 87.19 kB / 394.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1356, allocations: 49.4 MB / 443.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.00398/0.1396, allocations: 1.705 MB / 445.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1408, allocations: 0.519 MB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.1411, allocations: 4 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.963e-05/0.1411, allocations: 11.86 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1413, allocations: 15.81 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1417, allocations: 47.89 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1419, allocations: 75.7 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1421, allocations: 43.89 kB / 446 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1422, allocations: 31.8 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.1423, allocations: 27.86 kB / 446 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1423, allocations: 8 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.1424, allocations: 4 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.1424, allocations: 23.91 kB / 446.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.1425, allocations: 35.75 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1426, allocations: 75.72 kB / 446.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1426, allocations: 0 / 446.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1427, allocations: 0 / 446.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1427, allocations: 0 / 446.2 MB, free: 13.87 MB / 334.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.000626/0.1433, allocations: 387.1 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1434, allocations: 8.031 kB / 446.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.1434, allocations: 16.75 kB / 446.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1437, allocations: 216 kB / 446.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1437, allocations: 384 / 446.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1438, allocations: 8.375 kB / 446.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1442, allocations: 182.9 kB / 447 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1442, allocations: 4 kB / 447 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1442, allocations: 0 / 447 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.1442, allocations: 4 kB / 447 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1443, allocations: 39.91 kB / 447 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1447, allocations: 299.4 kB / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.145, allocations: 207.5 kB / 447.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1451, allocations: 63.48 kB / 447.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1452, allocations: 11.97 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1452, allocations: 38.56 kB / 447.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1452, allocations: 0 / 447.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003539/0.1456, allocations: 137.7 kB / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.1457, allocations: 136.5 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1458, allocations: 145.3 kB / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1458, allocations: 29.7 kB / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1459, allocations: 92.12 kB / 448.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.1459, allocations: 8 kB / 448.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.146, allocations: 21.7 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1461, allocations: 330.8 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.1462, allocations: 12 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.1463, allocations: 85.42 kB / 448.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1464, allocations: 109.6 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1464, allocations: 3.938 kB / 448.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002164/0.1467, allocations: 129.5 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1467, allocations: 4 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1467, allocations: 4 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1467, allocations: 4 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1468, allocations: 23.92 kB / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.1469, allocations: 4 kB / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.1469, allocations: 11.91 kB / 448.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.147, allocations: 4 kB / 448.9 MB, free: 10.75 MB / 334.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 9.24e-05/0.1471, allocations: 133.8 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1472, allocations: 89.52 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1473, allocations: 16.31 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1473, allocations: 0 / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1473, allocations: 4 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1473, allocations: 3.984 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1475, allocations: 181.8 kB / 449.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1475, allocations: 0 / 449.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.1476, allocations: 23.98 kB / 449.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1476, allocations: 0 / 449.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1476, allocations: 8.016 kB / 449.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1476, allocations: 4 kB / 449.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1476, allocations: 3.938 kB / 449.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1479, allocations: 225.9 kB / 449.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.148, allocations: 92.92 kB / 449.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.148, allocations: 4 kB / 449.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.1481, allocations: 7.984 kB / 449.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1481, allocations: 3.938 kB / 449.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1481, allocations: 4 kB / 449.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.1482, allocations: 103.3 kB / 449.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1482, allocations: 0 / 449.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1485, allocations: 12 kB / 449.8 MB, free: 9.742 MB / 334.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 0.0001081/0.1486, allocations: 107.5 kB / 449.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1488, allocations: 71.83 kB / 450 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1488, allocations: 0 / 450 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.1489, allocations: 4 kB / 450 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1493, allocations: 76.92 kB / 450 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.1498, allocations: 205.9 kB / 450.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1501, allocations: 0.704 MB / 450.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.1501, allocations: 8.547 kB / 451 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.1502, allocations: 19.44 kB / 451 MB, free: 8.488 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1502, allocations: 0 / 451 MB, free: 8.488 MB / 334.1 MB Notification: Performance of Templates: time 0.003886/0.1541, allocations: 1.028 MB / 452 MB, free: 7.461 MB / 334.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)