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.001504/0.001504, allocations: 180.2 kB / 13.23 MB, free: 2.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.2 MB / 219 MB, free: 9.207 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.001074/0.001074, allocations: 96.44 kB / 267.1 MB, free: 9.27 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.1085/0.1085, allocations: 12.58 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.803e-05/5.809e-05, allocations: 7.984 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5447/0.6733, allocations: 80.15 MB / 0.5045 GB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.6736, allocations: 66.97 kB / 0.5046 GB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03632/0.7099, allocations: 6.207 MB / 0.5106 GB, free: 9.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.71, allocations: 0 / 0.5106 GB, free: 9.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.41e-05/0.7101, allocations: 3.875 kB / 0.5106 GB, free: 9.434 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.001265/0.7114, allocations: 0.5239 MB / 0.5112 GB, free: 8.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.497e-05/0.7115, allocations: 11.69 kB / 0.5112 GB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.7116, allocations: 59.73 kB / 0.5112 GB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.7118, allocations: 31.59 kB / 0.5113 GB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.7129, allocations: 334.9 kB / 0.5116 GB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.7129, allocations: 18.66 kB / 0.5116 GB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.713, allocations: 18.81 kB / 0.5116 GB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.7149, allocations: 0.5624 MB / 0.5122 GB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.715, allocations: 0 / 0.5122 GB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.715, allocations: 10.94 kB / 0.5122 GB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.7151, allocations: 7.688 kB / 0.5122 GB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.7155, allocations: 111.7 kB / 0.5123 GB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.7167, allocations: 0.5358 MB / 0.5128 GB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.7178, allocations: 492.2 kB / 0.5133 GB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.7184, allocations: 208.9 kB / 0.5135 GB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/0.7194, allocations: 0.5804 MB / 0.514 GB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.7194, allocations: 42.09 kB / 0.5141 GB, free: 6.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 6.422e-06/0.7195, allocations: 3.984 kB / 0.5141 GB, free: 6.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001059/0.7205, allocations: 297 kB / 0.5144 GB, free: 6.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.7207, allocations: 176 kB / 0.5145 GB, free: 6.566 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.721, allocations: 203.7 kB / 0.5147 GB, free: 6.453 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.7211, allocations: 29.2 kB / 0.5148 GB, free: 6.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.7212, allocations: 135.4 kB / 0.5149 GB, free: 6.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.7213, allocations: 32.06 kB / 0.5149 GB, free: 6.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.7213, allocations: 7.094 kB / 0.5149 GB, free: 6.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7215, allocations: 346.3 kB / 0.5153 GB, free: 5.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.7217, allocations: 50.53 kB / 0.5153 GB, free: 5.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.7221, allocations: 331.7 kB / 0.5156 GB, free: 5.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.7224, allocations: 118.4 kB / 0.5157 GB, free: 5.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.7224, allocations: 3.844 kB / 0.5157 GB, free: 5.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009841/0.7234, allocations: 373.5 kB / 0.5161 GB, free: 5.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.7235, allocations: 11.53 kB / 0.5161 GB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.7235, allocations: 8.594 kB / 0.5161 GB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.7236, allocations: 19.33 kB / 0.5161 GB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.7242, allocations: 93.48 kB / 0.5162 GB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.034e-05/0.7242, allocations: 15.5 kB / 0.5162 GB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.7247, allocations: 42.17 kB / 0.5163 GB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.7248, allocations: 23.34 kB / 0.5163 GB, free: 5.383 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.000224/0.725, allocations: 151 kB / 0.5164 GB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/0.7259, allocations: 260.1 kB / 0.5167 GB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009092/0.7268, allocations: 289.5 kB / 0.517 GB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.7269, allocations: 7.797 kB / 0.517 GB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7269, allocations: 3.844 kB / 0.517 GB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7269, allocations: 0 / 0.517 GB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.7276, allocations: 305.3 kB / 0.5173 GB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.7276, allocations: 0 / 0.5173 GB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.7283, allocations: 80.27 kB / 0.5173 GB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.7284, allocations: 3.875 kB / 0.5173 GB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.7284, allocations: 11.11 kB / 0.5174 GB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.7285, allocations: 4 kB / 0.5174 GB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7285, allocations: 7.828 kB / 0.5174 GB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.7295, allocations: 0.5041 MB / 0.5179 GB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.7296, allocations: 111.5 kB / 0.518 GB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.7297, allocations: 10.5 kB / 0.518 GB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.7302, allocations: 18.55 kB / 0.518 GB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.7303, allocations: 11.14 kB / 0.518 GB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.7304, allocations: 11.69 kB / 0.518 GB, free: 4.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.7307, allocations: 163.2 kB / 0.5182 GB, free: 4.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7307, allocations: 4 kB / 0.5182 GB, free: 4.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001033/0.7318, allocations: 56.66 kB / 0.5182 GB, free: 4.266 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.001963/0.7338, allocations: 1.404 MB / 0.5196 GB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009145/0.7347, allocations: 250.8 kB / 0.5198 GB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7348, allocations: 0 / 0.5198 GB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.107e-05/0.7348, allocations: 11.72 kB / 0.5199 GB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7363, allocations: 232.6 kB / 0.5201 GB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.7393, allocations: 472.2 kB / 0.5205 GB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.7398, allocations: 0.7931 MB / 0.5213 GB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000194/0.74, allocations: 34.28 kB / 0.5213 GB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.7403, allocations: 88.88 kB / 0.5214 GB, free: 2.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.7403, allocations: 0 / 0.5214 GB, free: 2.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.7746, allocations: 5.956 MB / 0.5272 GB, free: 12.28 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003781/0.775, allocations: 174.9 kB / 0.5274 GB, free: 12.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.435, allocations: 0 / 0.5274 GB, free: 12.05 MB / 346.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)