Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.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.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",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.001492/0.001492, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.3 MB / 213.8 MB, free: 13.75 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.001121/0.001121, allocations: 98.91 kB / 261.8 MB, free: 13.43 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.1094/0.1094, allocations: 12.6 MB / 322.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.79e-05, allocations: 0 / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.6042, allocations: 79.49 MB / 0.497 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6046, allocations: 61.03 kB / 0.497 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02719/0.6318, allocations: 6.171 MB / 0.5031 GB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6319, allocations: 0 / 0.5031 GB, free: 10.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.6319, allocations: 7.531 kB / 0.5031 GB, free: 10.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009907/0.6329, allocations: 0.5231 MB / 0.5036 GB, free: 10.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.633, allocations: 15.31 kB / 0.5036 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.6331, allocations: 30.66 kB / 0.5036 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.634, allocations: 339.9 kB / 0.5039 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.6341, allocations: 7.531 kB / 0.5039 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.6341, allocations: 11.16 kB / 0.504 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003518/0.6345, allocations: 108.8 kB / 0.5041 GB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6355, allocations: 0.528 MB / 0.5046 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.6356, allocations: 0 / 0.5046 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.6357, allocations: 0 / 0.5046 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.6357, allocations: 3.812 kB / 0.5046 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.6365, allocations: 499.2 kB / 0.5051 GB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.6373, allocations: 470.4 kB / 0.5055 GB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.6377, allocations: 184.6 kB / 0.5057 GB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007379/0.6385, allocations: 0.5838 MB / 0.5063 GB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6385, allocations: 49.19 kB / 0.5063 GB, free: 8.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 4.338e-06/0.6386, allocations: 0 / 0.5063 GB, free: 8.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008276/0.6394, allocations: 266.8 kB / 0.5066 GB, free: 8.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6395, allocations: 169.4 kB / 0.5067 GB, free: 7.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.6398, allocations: 191.5 kB / 0.5069 GB, free: 7.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.6399, allocations: 25.7 kB / 0.5069 GB, free: 7.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.64, allocations: 137.7 kB / 0.5071 GB, free: 7.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.64, allocations: 29.03 kB / 0.5071 GB, free: 7.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.6401, allocations: 3.938 kB / 0.5071 GB, free: 7.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.6402, allocations: 339.4 kB / 0.5074 GB, free: 7.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.6403, allocations: 52.48 kB / 0.5075 GB, free: 7.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.6406, allocations: 314.8 kB / 0.5078 GB, free: 7.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.6408, allocations: 107.9 kB / 0.5079 GB, free: 7.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.6408, allocations: 0 / 0.5079 GB, free: 7.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006892/0.6415, allocations: 316.2 kB / 0.5082 GB, free: 6.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6416, allocations: 12.38 kB / 0.5082 GB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.6416, allocations: 7.75 kB / 0.5082 GB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/0.6416, allocations: 15.38 kB / 0.5082 GB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.6421, allocations: 91.59 kB / 0.5083 GB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.6422, allocations: 19.45 kB / 0.5083 GB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.6425, allocations: 35.02 kB / 0.5083 GB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.6426, allocations: 25.84 kB / 0.5084 GB, free: 6.836 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001862/0.6427, allocations: 134.4 kB / 0.5085 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007076/0.6435, allocations: 267.7 kB / 0.5087 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.6436, allocations: 35.03 kB / 0.5088 GB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.6442, allocations: 245.7 kB / 0.509 GB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6443, allocations: 7.734 kB / 0.509 GB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6443, allocations: 3.719 kB / 0.509 GB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6443, allocations: 3.984 kB / 0.509 GB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.6448, allocations: 250.8 kB / 0.5093 GB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.6448, allocations: 3.906 kB / 0.5093 GB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.6454, allocations: 81 kB / 0.5093 GB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.6454, allocations: 7.875 kB / 0.5094 GB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.6454, allocations: 0 / 0.5094 GB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6454, allocations: 7.844 kB / 0.5094 GB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6455, allocations: 0 / 0.5094 GB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.6462, allocations: 498.5 kB / 0.5098 GB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.6463, allocations: 112 kB / 0.5099 GB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.6464, allocations: 7.828 kB / 0.51 GB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.6467, allocations: 11.7 kB / 0.51 GB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.6468, allocations: 3.875 kB / 0.51 GB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.6468, allocations: 15.5 kB / 0.51 GB, free: 5.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.6471, allocations: 155.1 kB / 0.5101 GB, free: 5.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6471, allocations: 3.938 kB / 0.5101 GB, free: 5.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007215/0.6478, allocations: 45.66 kB / 0.5102 GB, free: 5.738 MB / 330.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00139/0.6492, allocations: 1.376 MB / 0.5115 GB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005848/0.6498, allocations: 221.6 kB / 0.5117 GB, free: 4.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6499, allocations: 4.188 kB / 0.5117 GB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.6499, allocations: 3.844 kB / 0.5117 GB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.651, allocations: 222.6 kB / 0.512 GB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.6532, allocations: 437.3 kB / 0.5124 GB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.6535, allocations: 0.789 MB / 0.5131 GB, free: 3.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000175/0.6537, allocations: 34.72 kB / 0.5132 GB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.6539, allocations: 91.25 kB / 0.5133 GB, free: 3.543 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6539, allocations: 0 / 0.5133 GB, free: 3.543 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.703, allocations: 5.467 MB / 0.5186 GB, free: 0.9766 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.7034, allocations: 154.2 kB / 0.5187 GB, free: 0.7852 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.418, allocations: 4 kB / 0.5188 GB, free: 0.7812 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)