Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007402/0.0007402, allocations: 94.8 kB / 16.04 MB, free: 5.742 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.0739/0.0739, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002017/0.0002019, allocations: 0 / 40.28 MB, free: 0.5977 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005593/0.005812, allocations: 2.827 MB / 43.1 MB, free: 6.047 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.TestRealSampler): time 1.567/1.573, allocations: 277.8 MB / 320.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008566/1.574, allocations: 473.1 kB / 321.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/1.574, allocations: 5.594 kB / 321.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/1.574, allocations: 11.86 kB / 321.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/1.574, allocations: 11.88 kB / 321.3 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/1.575, allocations: 64.36 kB / 321.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/1.575, allocations: 112.4 kB / 321.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/1.575, allocations: 105.7 kB / 321.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/1.575, allocations: 39.78 kB / 321.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/1.575, allocations: 51.7 kB / 321.7 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/1.575, allocations: 0 / 321.7 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/1.575, allocations: 4 kB / 321.7 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/1.575, allocations: 30.55 kB / 321.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/1.575, allocations: 77.31 kB / 321.8 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/1.576, allocations: 119.5 kB / 321.9 MB, free: 9.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.576, allocations: 0 / 321.9 MB, free: 9.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/1.576, allocations: 0 / 321.9 MB, free: 9.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/1.576, allocations: 0 / 321.9 MB, free: 9.391 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006804/1.576, allocations: 420.1 kB / 322.4 MB, free: 8.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.576, allocations: 8.688 kB / 322.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/1.576, allocations: 20.75 kB / 322.4 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/1.577, allocations: 220.6 kB / 322.6 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.577, allocations: 10.25 kB / 322.6 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.577, allocations: 12.38 kB / 322.6 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/1.577, allocations: 349.7 kB / 323 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.577, allocations: 3.938 kB / 323 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.577, allocations: 8 kB / 323 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/1.577, allocations: 13.8 kB / 323 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/1.578, allocations: 121.4 kB / 323.1 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/1.578, allocations: 465.2 kB / 323.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/1.579, allocations: 252.8 kB / 323.8 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/1.579, allocations: 129.3 kB / 323.9 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/1.579, allocations: 6.125 kB / 323.9 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.579, allocations: 42.48 kB / 324 MB, free: 7.152 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/1.579, allocations: 0 / 324 MB, free: 7.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006028/1.58, allocations: 294.8 kB / 324.3 MB, free: 6.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/1.58, allocations: 136.5 kB / 324.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.58, allocations: 153.1 kB / 324.5 MB, free: 6.543 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/1.58, allocations: 26.58 kB / 324.6 MB, free: 6.512 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/1.58, allocations: 108 kB / 324.7 MB, free: 6.402 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/1.58, allocations: 9.188 kB / 324.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/1.58, allocations: 4 kB / 324.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/1.58, allocations: 322.8 kB / 325 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/1.58, allocations: 49.33 kB / 325.1 MB, free: 6.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.58, allocations: 152.2 kB / 325.2 MB, free: 5.816 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/1.581, allocations: 215.2 kB / 325.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.581, allocations: 0 / 325.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003413/1.581, allocations: 209.1 kB / 325.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.581, allocations: 8.562 kB / 325.6 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.581, allocations: 11.94 kB / 325.6 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.581, allocations: 4 kB / 325.6 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.581, allocations: 39.92 kB / 325.7 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.581, allocations: 4 kB / 325.7 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/1.581, allocations: 23.89 kB / 325.7 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/1.581, allocations: 11.94 kB / 325.7 MB, free: 5.238 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001356/1.582, allocations: 149.6 kB / 325.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/1.582, allocations: 169.9 kB / 326 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/1.582, allocations: 28.72 kB / 326.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.582, allocations: 4 kB / 326.1 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.582, allocations: 0 / 326.1 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/1.582, allocations: 7.984 kB / 326.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/1.582, allocations: 205.5 kB / 326.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.582, allocations: 0 / 326.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/1.582, allocations: 35.97 kB / 326.3 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.582, allocations: 0 / 326.3 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.583, allocations: 15.97 kB / 326.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.583, allocations: 0 / 326.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.583, allocations: 3.938 kB / 326.3 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/1.583, allocations: 396.2 kB / 326.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/1.583, allocations: 96.92 kB / 326.8 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/1.583, allocations: 3.938 kB / 326.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.583, allocations: 12 kB / 326.8 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/1.583, allocations: 3.984 kB / 326.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/1.583, allocations: 8 kB / 326.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.191e-05/1.583, allocations: 117.5 kB / 327 MB, free: 3.898 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.583, allocations: 0 / 327 MB, free: 3.898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002952/1.584, allocations: 27.94 kB / 327 MB, free: 3.871 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001202/1.584, allocations: 103.9 kB / 327.1 MB, free: 3.762 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/1.584, allocations: 157 kB / 327.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.584, allocations: 0 / 327.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/1.584, allocations: 23.98 kB / 327.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/1.585, allocations: 107.9 kB / 327.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/1.585, allocations: 427 kB / 327.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/1.586, allocations: 0.7437 MB / 328.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.796e-05/1.586, allocations: 17.08 kB / 328.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/1.586, allocations: 15.44 kB / 328.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of SimCode: time 2.2e-07/1.586, allocations: 0 / 328.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of Templates: time 0.003725/1.59, allocations: 1.206 MB / 329.8 MB, free: 1.023 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)