Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",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.001087/0.001087, 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.675/1.675, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0008162/0.0008164, allocations: 90.17 kB / 270.7 MB, free: 8.234 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.08956/0.08956, allocations: 12.59 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004348, allocations: 12 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09132, allocations: 50.36 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001803/0.09317, allocations: 1.497 MB / 444.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007815/0.09398, allocations: 0.5114 MB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.09411, allocations: 7.938 kB / 445.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.09425, allocations: 11.92 kB / 445.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.09433, allocations: 15.88 kB / 445.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.09468, allocations: 67.86 kB / 445.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.09483, allocations: 111.6 kB / 445.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.095, allocations: 81.31 kB / 445.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.09511, allocations: 43.77 kB / 445.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.0952, allocations: 39.72 kB / 445.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.09523, allocations: 4 kB / 445.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.09526, allocations: 4 kB / 445.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.09532, allocations: 35.84 kB / 445.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.09539, allocations: 73.31 kB / 445.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.09553, allocations: 115.8 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09554, allocations: 4 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09555, allocations: 0 / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.09556, allocations: 0 / 445.7 MB, free: 12.7 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005431/0.09611, allocations: 419 kB / 446.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.09616, allocations: 12.02 kB / 446.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.09621, allocations: 54.72 kB / 446.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.09625, allocations: 16.75 kB / 446.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.09645, allocations: 235.9 kB / 446.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.09647, allocations: 8.375 kB / 446.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.0965, allocations: 12.38 kB / 446.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.09701, allocations: 354.5 kB / 446.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.09703, allocations: 0 / 446.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.09705, allocations: 4 kB / 446.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.09708, allocations: 4 kB / 446.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.0973, allocations: 119.8 kB / 447 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.09778, allocations: 470.4 kB / 447.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.09814, allocations: 258.3 kB / 447.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.09832, allocations: 127.4 kB / 447.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.09835, allocations: 4 kB / 447.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.09838, allocations: 46.5 kB / 447.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.09838, allocations: 0 / 447.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004931/0.09888, allocations: 273.7 kB / 448.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.09894, allocations: 148.5 kB / 448.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.09903, allocations: 154.2 kB / 448.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.09905, allocations: 29.7 kB / 448.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.0991, allocations: 108 kB / 448.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.09912, allocations: 16.12 kB / 448.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.09913, allocations: 0 / 448.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.09919, allocations: 326.8 kB / 448.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.09928, allocations: 47.97 kB / 448.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.09939, allocations: 151.4 kB / 449.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.09963, allocations: 207.2 kB / 449.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.09964, allocations: 4 kB / 449.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002859/0.09993, allocations: 213 kB / 449.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.09996, allocations: 15.88 kB / 449.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.09997, allocations: 4 kB / 449.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.09999, allocations: 4 kB / 449.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1001, allocations: 39.98 kB / 449.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1001, allocations: 12.45 kB / 449.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.1002, allocations: 19.84 kB / 449.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1002, allocations: 16 kB / 449.6 MB, free: 8.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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 8.207e-05/0.1003, allocations: 145.7 kB / 449.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.1005, allocations: 165.4 kB / 449.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.1006, allocations: 16.84 kB / 449.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.1006, allocations: 7.984 kB / 449.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1006, allocations: 0 / 449.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1006, allocations: 8.031 kB / 449.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1008, allocations: 209.5 kB / 450.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1008, allocations: 0 / 450.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.101, allocations: 35.97 kB / 450.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.101, allocations: 3.938 kB / 450.2 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.101, allocations: 7.938 kB / 450.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.101, allocations: 0 / 450.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.101, allocations: 0 / 450.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1013, allocations: 410.1 kB / 450.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.1014, allocations: 92.95 kB / 450.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1014, allocations: 7.938 kB / 450.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1015, allocations: 19.97 kB / 450.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1016, allocations: 4 kB / 450.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1016, allocations: 8 kB / 450.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.1017, allocations: 111.2 kB / 450.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1017, allocations: 0 / 450.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.102, allocations: 23.91 kB / 450.8 MB, free: 7.066 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 1 * 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 0.0004796/0.1024, allocations: 0.9318 MB / 451.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1027, allocations: 152.8 kB / 451.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1027, allocations: 0 / 451.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.1028, allocations: 27.98 kB / 451.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.1033, allocations: 112.4 kB / 452.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.105, allocations: 2.216 MB / 454.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.1051, allocations: 0.736 MB / 455 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.1052, allocations: 21.08 kB / 455 MB, free: 2.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.1053, allocations: 43.36 kB / 455.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1053, allocations: 0 / 455.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.1173, allocations: 2.807 MB / 457.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.1175, allocations: 218.4 kB / 458.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.756, allocations: 0 / 458.1 MB, free: 15.5 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)