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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008857/0.0008857, allocations: 178.7 kB / 16.45 MB, free: 5.68 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.197/1.197, allocations: 205.4 MB / 222.6 MB, free: 9.098 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.0006646/0.0006646, allocations: 100.5 kB / 270.9 MB, free: 8.34 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.06705/0.06705, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004028, allocations: 24 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07725/0.07767, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.001879/0.07959, allocations: 1.878 MB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.08074, allocations: 0.8273 MB / 445.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.08091, allocations: 7.938 kB / 445.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.08107, allocations: 39.64 kB / 445.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.707e-05/0.08118, allocations: 27.78 kB / 445.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.08173, allocations: 175.7 kB / 446 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.08195, allocations: 271.2 kB / 446.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.08214, allocations: 111.2 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.08225, allocations: 67.59 kB / 446.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.08237, allocations: 87.42 kB / 446.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.0824, allocations: 4 kB / 446.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.08251, allocations: 43.95 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.08258, allocations: 47.7 kB / 446.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.08263, allocations: 61.58 kB / 446.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.08281, allocations: 215.8 kB / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.08282, allocations: 0 / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08283, allocations: 0 / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.08284, allocations: 8 kB / 446.9 MB, free: 11.91 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.0006575/0.08351, allocations: 0.5337 MB / 447.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.08355, allocations: 15.97 kB / 447.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.08361, allocations: 39.61 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.0839, allocations: 286 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.08393, allocations: 12.44 kB / 447.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.08396, allocations: 20 kB / 447.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009851/0.08495, allocations: 0.6584 MB / 448.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.08498, allocations: 3.984 kB / 448.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.08501, allocations: 8 kB / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.08502, allocations: 4 kB / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.0854, allocations: 184.1 kB / 448.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.08585, allocations: 0.5336 MB / 449.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.0866, allocations: 0.5796 MB / 449.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.08693, allocations: 252.2 kB / 450 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.08741, allocations: 0.5895 MB / 450.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.08745, allocations: 42.56 kB / 450.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.08745, allocations: 0 / 450.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008528/0.08831, allocations: 487.4 kB / 451.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.0884, allocations: 203.9 kB / 451.3 MB, free: 7.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.08857, allocations: 233.3 kB / 451.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.0886, allocations: 33.7 kB / 451.6 MB, free: 6.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.08867, allocations: 133 kB / 451.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.0887, allocations: 27.81 kB / 451.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.08871, allocations: 12 kB / 451.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.08877, allocations: 342.8 kB / 452.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.934e-05/0.08888, allocations: 56.84 kB / 452.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.08907, allocations: 356 kB / 452.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.08923, allocations: 119.9 kB / 452.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.08924, allocations: 4 kB / 452.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004432/0.08969, allocations: 393.1 kB / 453 MB, free: 5.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.08971, allocations: 12 kB / 453 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.08973, allocations: 8 kB / 453 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.08975, allocations: 12 kB / 453 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.08998, allocations: 95.78 kB / 453.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.09, allocations: 20.42 kB / 453.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.09019, allocations: 43.69 kB / 453.2 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.09022, allocations: 24 kB / 453.2 MB, free: 4.977 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.09035, allocations: 186.2 kB / 453.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.09087, allocations: 318.1 kB / 453.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.09139, allocations: 340.2 kB / 454 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.0914, allocations: 7.984 kB / 454 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.09141, allocations: 4 kB / 454 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.09142, allocations: 0 / 454 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.09168, allocations: 297.2 kB / 454.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.0917, allocations: 4 kB / 454.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.09197, allocations: 87.89 kB / 454.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.09198, allocations: 4 kB / 454.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.092, allocations: 7.953 kB / 454.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.09201, allocations: 4 kB / 454.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.09202, allocations: 3.984 kB / 454.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.09259, allocations: 0.535 MB / 454.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.09265, allocations: 116.8 kB / 455.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.09269, allocations: 15.98 kB / 455.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.09291, allocations: 35.88 kB / 455.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.09295, allocations: 7.984 kB / 455.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.09297, allocations: 8 kB / 455.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.09309, allocations: 180.5 kB / 455.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0931, allocations: 0 / 455.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.09349, allocations: 52 kB / 455.4 MB, free: 2.684 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 (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.0001473/0.09365, allocations: 119.2 kB / 455.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.09411, allocations: 297.8 kB / 455.8 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.09412, allocations: 0 / 455.8 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.09417, allocations: 20.05 kB / 455.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.09501, allocations: 265.9 kB / 456 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.09592, allocations: 0.6524 MB / 456.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.0961, allocations: 0.7764 MB / 457.5 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.09616, allocations: 31.42 kB / 457.5 MB, free: 472 kB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09616, allocations: 4 kB / 457.5 MB, free: 468 kB / 298.7 MB Notification: Performance of Templates: time 0.005387/0.1016, allocations: 3.647 MB / 461.2 MB, free: 12.8 MB / 314.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)