Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 97.14 kB / 15.73 MB, free: 440 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.001085/0.001085, allocations: 173.9 kB / 16.61 MB, free: 6.426 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.762/1.762, allocations: 205.4 MB / 222.8 MB, free: 5.676 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.09841/0.09841, allocations: 12.6 MB / 283.6 MB, free: 8.711 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.001079/0.00108, allocations: 20 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.14, allocations: 50.38 MB / 394.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.00221/0.1422, allocations: 1.371 MB / 396.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.1431, allocations: 484.1 kB / 396.7 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.1432, allocations: 7.938 kB / 396.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.1432, allocations: 3.938 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.1433, allocations: 7.984 kB / 396.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.1436, allocations: 43.83 kB / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1437, allocations: 39.95 kB / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1439, allocations: 31.95 kB / 396.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.144, allocations: 23.86 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.1441, allocations: 27.84 kB / 396.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1441, allocations: 4 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.1441, allocations: 4 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.1442, allocations: 11.94 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1442, allocations: 37.64 kB / 397 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.095e-05/0.1443, allocations: 39.91 kB / 397 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1443, allocations: 0 / 397 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1443, allocations: 0 / 397 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1443, allocations: 4 kB / 397 MB, free: 0.6602 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.0005196/0.1449, allocations: 375.2 kB / 397.4 MB, free: 252 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.1449, allocations: 12.03 kB / 397.4 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.145, allocations: 11.89 kB / 397.4 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1453, allocations: 202.7 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1453, allocations: 8 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1453, allocations: 4 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1457, allocations: 177.7 kB / 397.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1458, allocations: 3.938 kB / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1458, allocations: 0 / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1458, allocations: 0 / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1459, allocations: 39.97 kB / 397.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1462, allocations: 282.5 kB / 398.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1465, allocations: 185 kB / 398.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1466, allocations: 4.062 kB / 398.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1466, allocations: 34.5 kB / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1466, allocations: 0 / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003393/0.147, allocations: 129.6 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.147, allocations: 106.8 kB / 398.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1472, allocations: 130.1 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1472, allocations: 25.7 kB / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.1473, allocations: 100 kB / 398.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1473, allocations: 0 / 398.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.1473, allocations: 8 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1475, allocations: 322.8 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.1476, allocations: 16.03 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.1477, allocations: 71.64 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.1477, allocations: 28 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1477, allocations: 0 / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001834/0.1479, allocations: 113.4 kB / 399.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.148, allocations: 4 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.148, allocations: 4 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.148, allocations: 4 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.1481, allocations: 15.94 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1481, allocations: 7.984 kB / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.1482, allocations: 12.22 kB / 399.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1482, allocations: 11.94 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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.0001086/0.1483, allocations: 129.5 kB / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1485, allocations: 73.72 kB / 399.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.1485, allocations: 16.34 kB / 399.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1485, allocations: 3.984 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.1485, allocations: 4 kB / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1485, allocations: 0 / 399.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1488, allocations: 189.5 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1488, allocations: 4 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.1489, allocations: 15.98 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1489, allocations: 4 kB / 399.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1489, allocations: 320 / 399.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1489, allocations: 3.938 kB / 399.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.1489, allocations: 8 kB / 399.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1492, allocations: 232.6 kB / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.1493, allocations: 96.94 kB / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1493, allocations: 4 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1494, allocations: 4 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1494, allocations: 0 / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.1494, allocations: 7.953 kB / 400.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.1495, allocations: 107.2 kB / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1495, allocations: 0 / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1498, allocations: 8 kB / 400.3 MB, free: 12.94 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001144/0.1499, allocations: 95.25 kB / 400.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1501, allocations: 64.34 kB / 400.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1501, allocations: 0 / 400.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.1502, allocations: 12 kB / 400.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1505, allocations: 39.95 kB / 400.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1509, allocations: 218.8 kB / 400.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1513, allocations: 0.7004 MB / 401.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.441e-05/0.1513, allocations: 0.5625 kB / 401.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.1513, allocations: 19.42 kB / 401.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1513, allocations: 4 kB / 401.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Templates: time 0.003486/0.1548, allocations: 0.7611 MB / 402.2 MB, free: 10.97 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1) Environment - environmentSimulation: