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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 171.6 kB / 16.15 MB, free: 5.652 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.559/1.559, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0008395/0.0008395, allocations: 89.19 kB / 270.7 MB, free: 8.242 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.09776/0.09776, allocations: 12.6 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004142, allocations: 12 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 50.37 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.001998/0.1167, allocations: 1.429 MB / 444.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1179, allocations: 0.5425 MB / 445.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.1181, allocations: 4 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.1182, allocations: 11.86 kB / 445.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1184, allocations: 23.86 kB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.119, allocations: 83.83 kB / 445.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1192, allocations: 119.6 kB / 445.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1193, allocations: 36.88 kB / 445.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1195, allocations: 47.78 kB / 445.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1197, allocations: 67.72 kB / 445.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1197, allocations: 4 kB / 445.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.668e-05/0.1198, allocations: 8 kB / 445.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.1198, allocations: 39.84 kB / 445.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.1199, allocations: 85.34 kB / 445.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1201, allocations: 111.8 kB / 445.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1201, allocations: 0 / 445.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1201, allocations: 3.938 kB / 445.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1201, allocations: 0 / 445.7 MB, free: 12.71 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.0008292/0.121, allocations: 454.9 kB / 446.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.121, allocations: 8.031 kB / 446.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.1e-05/0.1211, allocations: 46.73 kB / 446.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.1212, allocations: 16.75 kB / 446.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1214, allocations: 220 kB / 446.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1214, allocations: 8.312 kB / 446.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1215, allocations: 28.23 kB / 446.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.1219, allocations: 244.7 kB / 446.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.1219, allocations: 0 / 446.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.122, allocations: 11.98 kB / 446.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.122, allocations: 4 kB / 446.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1222, allocations: 79.95 kB / 446.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.1227, allocations: 365.4 kB / 447.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.123, allocations: 177.3 kB / 447.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1231, allocations: 93.59 kB / 447.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1232, allocations: 8 kB / 447.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1233, allocations: 103.3 kB / 447.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.1234, allocations: 0 / 447.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005334/0.1239, allocations: 297.4 kB / 447.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.124, allocations: 93.11 kB / 447.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1241, allocations: 150.2 kB / 448.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1241, allocations: 33.69 kB / 448.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1242, allocations: 100.1 kB / 448.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.1242, allocations: 39.53 kB / 448.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.1242, allocations: 8 kB / 448.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.1243, allocations: 334.8 kB / 448.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.1244, allocations: 48.44 kB / 448.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1245, allocations: 163.4 kB / 448.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1248, allocations: 230.3 kB / 449 MB, free: 9.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1248, allocations: 0 / 449 MB, free: 9.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003286/0.1252, allocations: 233.1 kB / 449.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1252, allocations: 11.94 kB / 449.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1252, allocations: 4 kB / 449.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1252, allocations: 4.531 kB / 449.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1254, allocations: 47.86 kB / 449.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1254, allocations: 4 kB / 449.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.1255, allocations: 15.89 kB / 449.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1255, allocations: 16 kB / 449.4 MB, free: 8.719 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.1257, allocations: 155.9 kB / 449.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1258, allocations: 89.8 kB / 449.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1259, allocations: 20.78 kB / 449.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1259, allocations: 7.938 kB / 449.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1259, allocations: 0 / 449.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1259, allocations: 7.984 kB / 449.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.1265, allocations: 490.2 kB / 450.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1265, allocations: 0 / 450.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.737e-05/0.1266, allocations: 27.92 kB / 450.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1266, allocations: 0 / 450.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1266, allocations: 15.98 kB / 450.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1266, allocations: 3.938 kB / 450.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1266, allocations: 0 / 450.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.127, allocations: 340.2 kB / 450.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.127, allocations: 88.92 kB / 450.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1271, allocations: 15.98 kB / 450.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1272, allocations: 19.92 kB / 450.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.1273, allocations: 15.92 kB / 450.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1273, allocations: 4 kB / 450.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.064e-05/0.1274, allocations: 119.9 kB / 450.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1274, allocations: 0 / 450.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000297/0.1277, allocations: 28 kB / 450.8 MB, free: 7.188 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 (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.0007643/0.1284, allocations: 0.9784 MB / 451.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.1287, allocations: 163.8 kB / 451.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1288, allocations: 0 / 451.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1289, allocations: 55.97 kB / 452 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1293, allocations: 66.28 kB / 452 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1313, allocations: 2.138 MB / 454.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.1314, allocations: 0.7321 MB / 454.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.1315, allocations: 13.42 kB / 454.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.1316, allocations: 39.42 kB / 455 MB, free: 2.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1316, allocations: 0 / 455 MB, free: 2.77 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.1458, allocations: 2.759 MB / 457.7 MB, free: 16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.1461, allocations: 224.6 kB / 457.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.885, allocations: 0 / 457.9 MB, free: 15.74 MB / 314.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestTransferFunction.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)