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.001357/0.001357, allocations: 97.7 kB / 16.02 MB, free: 6.336 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.001508/0.001508, allocations: 197 kB / 16.95 MB, free: 6.152 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.882/1.882, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.08952/0.08952, allocations: 12.59 MB / 282.7 MB, free: 15.64 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.002606/0.002606, allocations: 91.88 kB / 343 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4231, allocations: 49.38 MB / 392.4 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample): time 0.003677/0.4268, allocations: 1.746 MB / 394.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.4279, allocations: 0.5025 MB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.428, allocations: 2.688 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.428, allocations: 5.812 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.4281, allocations: 13.66 kB / 394.6 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.4285, allocations: 37.7 kB / 394.7 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.4286, allocations: 70.67 kB / 394.7 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.4288, allocations: 29.38 kB / 394.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4289, allocations: 31.39 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.429, allocations: 34.72 kB / 394.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.429, allocations: 5.531 kB / 394.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.429, allocations: 4.625 kB / 394.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.429, allocations: 11.88 kB / 394.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.4291, allocations: 35.2 kB / 394.9 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.4292, allocations: 65.08 kB / 394.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4293, allocations: 5.312 kB / 395 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4293, allocations: 0 / 395 MB, free: 47.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4293, allocations: 4 kB / 395 MB, free: 47.41 MB / 318.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.0005215/0.4298, allocations: 379.6 kB / 395.3 MB, free: 47.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4299, allocations: 9.984 kB / 395.3 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.4299, allocations: 13.28 kB / 395.3 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4301, allocations: 203.3 kB / 395.5 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4302, allocations: 2.312 kB / 395.5 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.4302, allocations: 8.75 kB / 395.6 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.4306, allocations: 174.6 kB / 395.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4306, allocations: 0 / 395.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4306, allocations: 1.188 kB / 395.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4306, allocations: 1.062 kB / 395.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4308, allocations: 36.73 kB / 395.8 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.4311, allocations: 290.2 kB / 396 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.4314, allocations: 178.3 kB / 396.2 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4316, allocations: 56.84 kB / 396.3 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4316, allocations: 2.672 kB / 396.3 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4316, allocations: 40.88 kB / 396.3 MB, free: 46.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4316, allocations: 0 / 396.3 MB, free: 46.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003374/0.432, allocations: 124 kB / 396.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.432, allocations: 110 kB / 396.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4321, allocations: 131.3 kB / 396.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.4322, allocations: 25.7 kB / 396.7 MB, free: 45.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4322, allocations: 93.23 kB / 396.8 MB, free: 45.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.4322, allocations: 6.141 kB / 396.8 MB, free: 45.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.4323, allocations: 25.83 kB / 396.8 MB, free: 45.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.4323, allocations: 319.8 kB / 397.1 MB, free: 45.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.4324, allocations: 15.91 kB / 397.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.4325, allocations: 63.75 kB / 397.2 MB, free: 45.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.4326, allocations: 107.3 kB / 397.3 MB, free: 45.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4326, allocations: 4 kB / 397.3 MB, free: 45.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000159/0.4328, allocations: 104.8 kB / 397.4 MB, free: 45.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4328, allocations: 7.438 kB / 397.4 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4328, allocations: 0 / 397.4 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4328, allocations: 4.594 kB / 397.4 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.4329, allocations: 23.33 kB / 397.5 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4329, allocations: 3.953 kB / 397.5 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.433, allocations: 9.266 kB / 397.5 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.433, allocations: 3.828 kB / 397.5 MB, free: 45.07 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.4331, allocations: 132.3 kB / 397.6 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4332, allocations: 73.81 kB / 397.7 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.4332, allocations: 12.67 kB / 397.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4332, allocations: 1.594 kB / 397.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4333, allocations: 4.656 kB / 397.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.4333, allocations: 1.953 kB / 397.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.4334, allocations: 180 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4334, allocations: 1.5 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.4335, allocations: 19.98 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4335, allocations: 1.312 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4335, allocations: 3.312 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4336, allocations: 0 / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4336, allocations: 2.672 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4338, allocations: 213.3 kB / 398.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.4338, allocations: 84.45 kB / 398.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4338, allocations: 3.562 kB / 398.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.4339, allocations: 6.469 kB / 398.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.434, allocations: 2.375 kB / 398.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.434, allocations: 3.406 kB / 398.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.434, allocations: 99.44 kB / 398.3 MB, free: 44.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.434, allocations: 1.781 kB / 398.3 MB, free: 44.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.4343, allocations: 15.28 kB / 398.3 MB, free: 44.29 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.299e-05/0.4344, allocations: 95.09 kB / 398.4 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.4345, allocations: 66.11 kB / 398.5 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4345, allocations: 0.5625 kB / 398.5 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.4346, allocations: 18.12 kB / 398.5 MB, free: 44.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.435, allocations: 60.19 kB / 398.6 MB, free: 44.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.4355, allocations: 215.6 kB / 398.8 MB, free: 43.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.4357, allocations: 0.6974 MB / 399.5 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.4358, allocations: 10.11 kB / 399.5 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.4358, allocations: 12.55 kB / 399.5 MB, free: 43.25 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4358, allocations: 0 / 399.5 MB, free: 43.25 MB / 318.1 MB Notification: Performance of Templates: time 0.003473/0.4393, allocations: 0.871 MB / 400.4 MB, free: 42.83 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (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)