Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.000889, allocations: 99.16 kB / 16.05 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07509/0.07509, allocations: 12.63 MB / 29.41 MB, free: 6.066 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 0 / 40.28 MB, free: 0.6055 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007277/0.007552, allocations: 2.827 MB / 43.1 MB, free: 6.055 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 1.761/1.768, allocations: 278.2 MB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/1.77, allocations: 1.015 MB / 322.3 MB, free: 8.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/1.77, allocations: 10.69 kB / 322.3 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/1.77, allocations: 35.66 kB / 322.3 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/1.77, allocations: 27.73 kB / 322.4 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/1.771, allocations: 204.7 kB / 322.6 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/1.771, allocations: 287.2 kB / 322.8 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/1.772, allocations: 194.6 kB / 323 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/1.772, allocations: 76.56 kB / 323.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/1.772, allocations: 91.3 kB / 323.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/1.772, allocations: 8 kB / 323.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/1.772, allocations: 46.73 kB / 323.3 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/1.772, allocations: 43.77 kB / 323.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/1.772, allocations: 124.9 kB / 323.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/1.773, allocations: 298.9 kB / 323.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.773, allocations: 0 / 323.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.773, allocations: 0 / 323.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/1.773, allocations: 0 / 323.7 MB, free: 7.539 MB / 250.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.0008222/1.773, allocations: 0.542 MB / 324.3 MB, free: 6.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.773, allocations: 8.031 kB / 324.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/1.773, allocations: 32.56 kB / 324.3 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/1.774, allocations: 299.7 kB / 324.6 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/1.774, allocations: 16.81 kB / 324.6 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/1.774, allocations: 21.06 kB / 324.6 MB, free: 6.543 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/1.775, allocations: 0.658 MB / 325.3 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.775, allocations: 4.75 kB / 325.3 MB, free: 5.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/1.775, allocations: 12 kB / 325.3 MB, free: 5.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.775, allocations: 4.5 kB / 325.3 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/1.775, allocations: 176.3 kB / 325.5 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/1.776, allocations: 0.5375 MB / 326 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008478/1.777, allocations: 0.5811 MB / 326.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/1.777, allocations: 250.6 kB / 326.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/1.778, allocations: 0.5895 MB / 327.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.778, allocations: 42.5 kB / 327.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=44): time 1.543e-06/1.778, allocations: 0 / 327.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009818/1.779, allocations: 479.4 kB / 327.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.779, allocations: 211.8 kB / 328.1 MB, free: 2.684 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/1.779, allocations: 233.2 kB / 328.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/1.779, allocations: 37.7 kB / 328.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/1.779, allocations: 133.1 kB / 328.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/1.78, allocations: 31.78 kB / 328.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/1.78, allocations: 4 kB / 328.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/1.78, allocations: 346.8 kB / 328.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/1.78, allocations: 60.84 kB / 329 MB, free: 1.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/1.78, allocations: 348 kB / 329.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/1.781, allocations: 420.4 kB / 329.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.781, allocations: 4 kB / 329.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005287/1.781, allocations: 393.5 kB / 330.1 MB, free: 428 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.781, allocations: 12 kB / 330.1 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.781, allocations: 8 kB / 330.1 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.781, allocations: 16.06 kB / 330.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/1.781, allocations: 91.83 kB / 330.2 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.781, allocations: 23.88 kB / 330.3 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/1.782, allocations: 51.55 kB / 330.3 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/1.782, allocations: 20 kB / 330.3 MB, free: 204 kB / 250.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.0001593/1.782, allocations: 173.7 kB / 330.5 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005744/1.782, allocations: 326 kB / 330.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005873/1.783, allocations: 336.3 kB / 331.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.783, allocations: 4 kB / 331.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.783, allocations: 0 / 331.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.783, allocations: 11.86 kB / 331.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/1.783, allocations: 305.2 kB / 331.5 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.783, allocations: 0 / 331.5 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/1.784, allocations: 83.89 kB / 331.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.784, allocations: 4 kB / 331.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/1.784, allocations: 8 kB / 331.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.784, allocations: 3.984 kB / 331.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.784, allocations: 8 kB / 331.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/1.784, allocations: 0.5387 MB / 332.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/1.785, allocations: 120.6 kB / 332.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/1.785, allocations: 12 kB / 332.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/1.785, allocations: 28.22 kB / 332.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/1.785, allocations: 3.938 kB / 332.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/1.785, allocations: 19.98 kB / 332.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001436/1.785, allocations: 168.5 kB / 332.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.785, allocations: 0 / 332.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004252/1.785, allocations: 56 kB / 332.5 MB, free: 13.91 MB / 266.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.0001754/1.786, allocations: 135.1 kB / 332.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005105/1.786, allocations: 289.6 kB / 332.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.786, allocations: 3.938 kB / 332.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/1.786, allocations: 16 kB / 332.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/1.787, allocations: 267.5 kB / 333.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.788, allocations: 0.6472 MB / 333.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/1.788, allocations: 0.7842 MB / 334.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.629e-05/1.789, allocations: 30.97 kB / 334.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/1.789, allocations: 31.42 kB / 334.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 2.11e-07/1.789, allocations: 0 / 334.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.007263/1.796, allocations: 3.613 MB / 338.3 MB, free: 8.062 MB / 266.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)