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.0008839/0.000884, allocations: 96.78 kB / 15.74 MB, free: 424 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.0009358/0.0009361, allocations: 175 kB / 16.62 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.1248/0.1248, allocations: 12.61 MB / 283.7 MB, free: 8.684 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.000773/0.0007735, allocations: 19.98 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.13, allocations: 50.38 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.002341/0.1324, allocations: 1.378 MB / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1335, allocations: 492 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1337, allocations: 3.938 kB / 396.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.1338, allocations: 11.86 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.1339, allocations: 11.92 kB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1343, allocations: 43.91 kB / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.1344, allocations: 63.78 kB / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1345, allocations: 23.98 kB / 396.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1346, allocations: 27.84 kB / 396.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1347, allocations: 23.86 kB / 397 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1348, allocations: 4 kB / 397 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.1348, allocations: 0 / 397 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.1348, allocations: 15.92 kB / 397 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1349, allocations: 37.64 kB / 397 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.135, allocations: 39.92 kB / 397.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.135, allocations: 3.938 kB / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.135, allocations: 0 / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.135, allocations: 0 / 397.1 MB, free: 0.5977 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.000557/0.1356, allocations: 379.3 kB / 397.4 MB, free: 184 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1356, allocations: 8.031 kB / 397.4 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.1357, allocations: 11.91 kB / 397.5 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.136, allocations: 198.8 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.136, allocations: 4 kB / 397.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.136, allocations: 11.94 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.1365, allocations: 169.7 kB / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1365, allocations: 0 / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1365, allocations: 4 kB / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1365, allocations: 0 / 397.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1366, allocations: 39.91 kB / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1371, allocations: 286.6 kB / 398.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.1375, allocations: 184.9 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1376, allocations: 58.56 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/0.1377, allocations: 3.984 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1377, allocations: 34.56 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1377, allocations: 0 / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003707/0.1381, allocations: 125.6 kB / 398.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.1382, allocations: 114.8 kB / 398.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1383, allocations: 126.1 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1383, allocations: 25.7 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1384, allocations: 96 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1384, allocations: 11.98 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.1384, allocations: 0 / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1386, allocations: 318.9 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/0.1386, allocations: 15.98 kB / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.1387, allocations: 71.66 kB / 399.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.1388, allocations: 31.92 kB / 399.3 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1388, allocations: 0 / 399.3 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001922/0.139, allocations: 109.4 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.139, allocations: 8 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.139, allocations: 0 / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1391, allocations: 7.938 kB / 399.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.1392, allocations: 19.98 kB / 399.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1392, allocations: 8.219 kB / 399.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.1392, allocations: 11.94 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1393, allocations: 11.95 kB / 399.5 MB, free: 13.82 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 9.063e-05/0.1394, allocations: 121.6 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1395, allocations: 77.53 kB / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.1395, allocations: 12.31 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1395, allocations: 4 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1396, allocations: 0 / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1396, allocations: 3.984 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1398, allocations: 177.8 kB / 399.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1398, allocations: 7.984 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.1399, allocations: 20 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1399, allocations: 0 / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1399, allocations: 7.984 kB / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1399, allocations: 0 / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1399, allocations: 3.938 kB / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1401, allocations: 209.1 kB / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.1402, allocations: 92.89 kB / 400.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1402, allocations: 4 kB / 400.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.1403, allocations: 7.984 kB / 400.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1403, allocations: 0 / 400.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.1404, allocations: 4 kB / 400.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.1404, allocations: 103.5 kB / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1404, allocations: 0 / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1407, allocations: 8 kB / 400.4 MB, free: 12.87 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.000109/0.1408, allocations: 99.19 kB / 400.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.141, allocations: 60.34 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.141, allocations: 4.062 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.1411, allocations: 11.98 kB / 400.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1415, allocations: 52.28 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.1419, allocations: 218.8 kB / 400.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1423, allocations: 0.6926 MB / 401.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.1423, allocations: 8.547 kB / 401.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.1424, allocations: 15.42 kB / 401.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1424, allocations: 0 / 401.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Templates: time 0.003343/0.1457, allocations: 0.7844 MB / 402.3 MB, free: 10.87 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: