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.01001/0.01002, allocations: 90.09 kB / 15.91 MB, free: 6.309 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.001919/0.001919, allocations: 199.6 kB / 16.83 MB, free: 6.238 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.816/1.816, allocations: 205.1 MB / 222.7 MB, free: 4.758 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.09056/0.09056, allocations: 12.6 MB / 282.6 MB, free: 8.848 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.001649/0.001649, allocations: 83.88 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1417, allocations: 49.4 MB / 392.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.003578/0.1454, allocations: 1.759 MB / 393.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1465, allocations: 0.5152 MB / 394.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1467, allocations: 7.938 kB / 394.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.251e-05/0.1467, allocations: 7.922 kB / 394.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1468, allocations: 7.922 kB / 394.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1472, allocations: 51.91 kB / 394.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1473, allocations: 67.72 kB / 394.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1475, allocations: 27.98 kB / 394.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.1476, allocations: 35.84 kB / 394.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.1477, allocations: 31.84 kB / 394.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1477, allocations: 4 kB / 394.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.1477, allocations: 7.938 kB / 394.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1477, allocations: 4 kB / 394.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.1478, allocations: 39.67 kB / 394.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1479, allocations: 67.95 kB / 394.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1479, allocations: 4 kB / 394.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.148, allocations: 0 / 394.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.148, allocations: 0 / 394.8 MB, free: 1.062 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.0005962/0.1486, allocations: 387.1 kB / 395.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1486, allocations: 15.97 kB / 395.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1487, allocations: 8.844 kB / 395.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.149, allocations: 204.1 kB / 395.4 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.149, allocations: 8.375 kB / 395.4 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1491, allocations: 4.375 kB / 395.4 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.1495, allocations: 179 kB / 395.6 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1495, allocations: 4 kB / 395.6 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1495, allocations: 0 / 395.6 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1495, allocations: 0 / 395.6 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1497, allocations: 47.91 kB / 395.7 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.1502, allocations: 291.3 kB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.1506, allocations: 207.6 kB / 396.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1507, allocations: 67.48 kB / 396.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1508, allocations: 3.984 kB / 396.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1508, allocations: 50.42 kB / 396.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1508, allocations: 0 / 396.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003702/0.1512, allocations: 125.5 kB / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.1513, allocations: 140.7 kB / 396.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1514, allocations: 142 kB / 396.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1514, allocations: 25.7 kB / 396.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.1515, allocations: 96.12 kB / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1516, allocations: 7.938 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1516, allocations: 33.64 kB / 396.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1518, allocations: 318.8 kB / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.1518, allocations: 15.98 kB / 397.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.1519, allocations: 81.44 kB / 397.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1521, allocations: 121.2 kB / 397.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1521, allocations: 0 / 397.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001988/0.1523, allocations: 117.2 kB / 397.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1523, allocations: 7.984 kB / 397.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1524, allocations: 4.344 kB / 397.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.1524, allocations: 8 kB / 397.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1525, allocations: 20 kB / 397.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1525, allocations: 7.984 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.1526, allocations: 4 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1526, allocations: 11.94 kB / 397.5 MB, free: 13.97 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.1527, allocations: 121.8 kB / 397.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1529, allocations: 93.77 kB / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.1529, allocations: 8.312 kB / 397.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1529, allocations: 8.031 kB / 397.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.153, allocations: 8 kB / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.153, allocations: 0 / 397.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1532, allocations: 193.4 kB / 397.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1532, allocations: 4 kB / 397.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1533, allocations: 23.92 kB / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1533, allocations: 0 / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1533, allocations: 8 kB / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1533, allocations: 0 / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1534, allocations: 0 / 398 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1536, allocations: 221.9 kB / 398.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1537, allocations: 92.95 kB / 398.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1537, allocations: 4 kB / 398.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.1538, allocations: 0 / 398.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1539, allocations: 11.98 kB / 398.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.1539, allocations: 8 kB / 398.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.154, allocations: 95.27 kB / 398.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.154, allocations: 0 / 398.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1542, allocations: 15.94 kB / 398.4 MB, free: 12.96 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 (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.0001172/0.1544, allocations: 95.25 kB / 398.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.1546, allocations: 72.61 kB / 398.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1546, allocations: 0 / 398.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.1546, allocations: 11.98 kB / 398.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.1552, allocations: 67.73 kB / 398.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.1559, allocations: 243.9 kB / 398.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.1564, allocations: 0.7043 MB / 399.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.1564, allocations: 12.92 kB / 399.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.1565, allocations: 11.44 kB / 399.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1565, allocations: 0 / 399.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Templates: time 0.003614/0.1601, allocations: 0.9265 MB / 400.6 MB, free: 10.76 MB / 302.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)