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.0009319/0.0009319, allocations: 170.5 kB / 16.14 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.415/1.415, 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.0007451/0.0007451, allocations: 85.28 kB / 270.7 MB, free: 8.246 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.07019/0.07019, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.0865, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.00216/0.08871, allocations: 1.947 MB / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.09002, allocations: 0.8542 MB / 445.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.09018, allocations: 7.938 kB / 446 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.09036, allocations: 35.66 kB / 446 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.09049, allocations: 31.78 kB / 446 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.09107, allocations: 195.7 kB / 446.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.09132, allocations: 279.2 kB / 446.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.09155, allocations: 132.8 kB / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.09166, allocations: 87.44 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.0918, allocations: 91.31 kB / 446.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.09184, allocations: 8 kB / 446.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.09194, allocations: 39.97 kB / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.09204, allocations: 47.7 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.09215, allocations: 125 kB / 447 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.09242, allocations: 283.1 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.09244, allocations: 0 / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09245, allocations: 0 / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.09246, allocations: 0 / 447.3 MB, free: 11.16 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007529/0.09321, allocations: 0.5417 MB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.09326, allocations: 8.031 kB / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.09332, allocations: 58.73 kB / 447.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.09337, allocations: 32.56 kB / 447.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.09367, allocations: 303 kB / 448.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.09369, allocations: 16.81 kB / 448.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.09373, allocations: 24.12 kB / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009681/0.0947, allocations: 0.67 MB / 448.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.09472, allocations: 0 / 448.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.09475, allocations: 12 kB / 448.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.09477, allocations: 4 kB / 448.9 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.09514, allocations: 184.2 kB / 449.1 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.09563, allocations: 0.5452 MB / 449.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.09638, allocations: 0.5751 MB / 450.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.0967, allocations: 240.3 kB / 450.5 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.09728, allocations: 0.5934 MB / 451.1 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.09732, allocations: 38.56 kB / 451.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.543e-06/0.09733, allocations: 0 / 451.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009092/0.09824, allocations: 491.5 kB / 451.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.09836, allocations: 199.9 kB / 451.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.09854, allocations: 241 kB / 452 MB, free: 5.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.09857, allocations: 29.7 kB / 452 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.09864, allocations: 141.1 kB / 452.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.09868, allocations: 31.73 kB / 452.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.09869, allocations: 8 kB / 452.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.09876, allocations: 342.8 kB / 452.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.09886, allocations: 64.83 kB / 452.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.09907, allocations: 348 kB / 453 MB, free: 4.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.09938, allocations: 428.4 kB / 453.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.09939, allocations: 4 kB / 453.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004587/0.09986, allocations: 388.8 kB / 453.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.09989, allocations: 12 kB / 453.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.0999, allocations: 12.81 kB / 453.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.09993, allocations: 15.98 kB / 453.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1002, allocations: 95.84 kB / 453.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.1002, allocations: 23.86 kB / 453.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1004, allocations: 35.78 kB / 454 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.1004, allocations: 20 kB / 454 MB, free: 3.691 MB / 298.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 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.1006, allocations: 189.7 kB / 454.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.1011, allocations: 318.1 kB / 454.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.1016, allocations: 348.2 kB / 454.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1016, allocations: 4 kB / 454.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1016, allocations: 7.938 kB / 454.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1016, allocations: 0 / 454.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.1019, allocations: 297.2 kB / 455.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.1019, allocations: 12 kB / 455.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.1022, allocations: 79.89 kB / 455.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1022, allocations: 0 / 455.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1022, allocations: 11.98 kB / 455.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1022, allocations: 4 kB / 455.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1023, allocations: 3.938 kB / 455.2 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.1028, allocations: 0.5426 MB / 455.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.1029, allocations: 120.6 kB / 455.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.103, allocations: 12 kB / 455.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1032, allocations: 27.97 kB / 455.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.1032, allocations: 11.94 kB / 455.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.1032, allocations: 15.94 kB / 455.9 MB, free: 1.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1034, allocations: 172.5 kB / 456.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1034, allocations: 0 / 456.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00039/0.1038, allocations: 56 kB / 456.2 MB, free: 1.379 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * 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 (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.001064/0.1048, allocations: 1.261 MB / 457.4 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.1054, allocations: 301.9 kB / 457.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1054, allocations: 0 / 457.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.1055, allocations: 15.92 kB / 457.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.1064, allocations: 286.4 kB / 458 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.1091, allocations: 1.797 MB / 459.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1095, allocations: 0.7839 MB / 460.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1096, allocations: 34.95 kB / 460.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1098, allocations: 95.39 kB / 460.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1098, allocations: 0 / 460.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.1277, allocations: 6.209 MB / 466.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.128, allocations: 223.6 kB / 467.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.248, allocations: 4 kB / 467.2 MB, free: 6.086 MB / 314.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)