Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 183.2 kB / 16.45 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.6 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006878/0.0006879, allocations: 89.48 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08277/0.08277, allocations: 12.6 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 12 kB / 392.6 MB, free: 66.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.002275/0.109, allocations: 1.402 MB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1104, allocations: 0.539 MB / 445 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.1106, allocations: 7.938 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.1108, allocations: 7.938 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.111, allocations: 19.84 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.1118, allocations: 75.84 kB / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.1122, allocations: 115.6 kB / 445.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1124, allocations: 24.88 kB / 445.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.1126, allocations: 55.77 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1129, allocations: 71.73 kB / 445.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.1129, allocations: 4 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.59e-05/0.113, allocations: 4 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.113, allocations: 35.89 kB / 445.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.1131, allocations: 49.58 kB / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1133, allocations: 88 kB / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1133, allocations: 0 / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1133, allocations: 0 / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1133, allocations: 0 / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001008/0.1143, allocations: 450.7 kB / 446 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.1144, allocations: 8.031 kB / 446 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.1145, allocations: 11.91 kB / 446 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1148, allocations: 222.7 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1148, allocations: 8 kB / 446.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1148, allocations: 12 kB / 446.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.1153, allocations: 248.5 kB / 446.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1153, allocations: 3.984 kB / 446.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1154, allocations: 8 kB / 446.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1154, allocations: 4 kB / 446.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.1156, allocations: 83.88 kB / 446.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.1161, allocations: 349.5 kB / 446.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1164, allocations: 189.2 kB / 447.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1166, allocations: 85.67 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.1166, allocations: 7.984 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1168, allocations: 115.4 kB / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.295e-06/0.1168, allocations: 0 / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.00053/0.1173, allocations: 297.3 kB / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.1174, allocations: 89.09 kB / 447.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1175, allocations: 154.2 kB / 447.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1175, allocations: 33.7 kB / 447.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1176, allocations: 104.1 kB / 447.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1176, allocations: 35.61 kB / 448 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.1176, allocations: 4 kB / 448 MB, free: 10.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.1177, allocations: 330.8 kB / 448.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.1178, allocations: 52.44 kB / 448.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1179, allocations: 159.4 kB / 448.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1181, allocations: 67.97 kB / 448.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1181, allocations: 4 kB / 448.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000328/0.1184, allocations: 241 kB / 448.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1185, allocations: 4 kB / 448.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1185, allocations: 4 kB / 448.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1185, allocations: 8 kB / 448.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1186, allocations: 32.45 kB / 448.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1187, allocations: 19.92 kB / 448.9 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.1188, allocations: 23.84 kB / 448.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1188, allocations: 12 kB / 448.9 MB, free: 9.57 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(flow=false fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.transferFunction2.firstTrigger,transferFunction2.firstTrigger,$PRE.transferFunction2.x1,transferFunction2.x1,$PRE.transferFunction2.xext[1],transferFunction2.xext[1],$PRE.transferFunction2.xext[2],transferFunction2.xext[2],$PRE.transferFunction2.x[1],transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition1,sampler.sampleTrigger,$whenCondition2,transferFunction2.sampleTrigger,sampler.y) * Number of discrete states: 0 () * Number of clocked states: 1 (transferFunction1.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001718/0.119, allocations: 160 kB / 449.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1191, allocations: 97.45 kB / 449.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.1191, allocations: 16.84 kB / 449.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1191, allocations: 0 / 449.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1191, allocations: 8 kB / 449.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1192, allocations: 7.922 kB / 449.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1196, allocations: 494.2 kB / 449.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1197, allocations: 0 / 449.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.1198, allocations: 23.98 kB / 449.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1198, allocations: 0 / 449.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1198, allocations: 15.92 kB / 449.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1198, allocations: 0 / 449.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1198, allocations: 0 / 449.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.1202, allocations: 340.1 kB / 450.1 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.1202, allocations: 88.92 kB / 450.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.1203, allocations: 15.98 kB / 450.2 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1204, allocations: 11.98 kB / 450.2 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.1204, allocations: 11.98 kB / 450.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.1205, allocations: 8 kB / 450.2 MB, free: 8.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.1206, allocations: 115.9 kB / 450.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1206, allocations: 0 / 450.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.1208, allocations: 32 kB / 450.3 MB, free: 8.043 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (transferFunction2.sampleTrigger,sampler.sampleTrigger,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,transferFunction2.firstTrigger,transferFunction2.y,transferFunction2.x[1],transferFunction2.x1,transferFunction2.xext[1],transferFunction2.xext[2]) * Number of discrete states: 1 (transferFunction2.x[1]) * Number of clocked states: 1 (transferFunction1.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001169/0.121, allocations: 115.1 kB / 450.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.1213, allocations: 167.7 kB / 450.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1213, allocations: 0 / 450.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1214, allocations: 57.03 kB / 450.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1218, allocations: 51.94 kB / 450.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.1225, allocations: 372.8 kB / 451.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.1227, allocations: 0.7321 MB / 451.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1227, allocations: 15.44 kB / 451.8 MB, free: 6.477 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1227, allocations: 0 / 451.8 MB, free: 6.477 MB / 298.7 MB Notification: Performance of Templates: time 0.003738/0.1265, allocations: 1.844 MB / 453.7 MB, free: 4.629 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)