Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000745/0.0007451, allocations: 92.09 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.09337/0.09337, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002185/0.0002184, allocations: 0 / 40.27 MB, free: 0.625 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006208/0.006443, allocations: 2.832 MB / 43.1 MB, free: 6.07 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.TestClockedRealToTrigger): time 1.608/1.614, allocations: 277.6 MB / 320.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006782/1.615, allocations: 443.2 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/1.615, allocations: 0 / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/1.615, allocations: 7.922 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/1.615, allocations: 5.125 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/1.615, allocations: 39.95 kB / 321.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.143e-05/1.615, allocations: 60.28 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/1.616, allocations: 37.53 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/1.616, allocations: 15.94 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/1.616, allocations: 31.78 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/1.616, allocations: 0 / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/1.616, allocations: 4 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/1.616, allocations: 7.922 kB / 321.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/1.616, allocations: 56.72 kB / 321.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/1.616, allocations: 51.78 kB / 321.4 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.616, allocations: 0 / 321.4 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/1.616, allocations: 0 / 321.4 MB, free: 9.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/1.616, allocations: 0 / 321.4 MB, free: 9.918 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004101/1.616, allocations: 351.4 kB / 321.8 MB, free: 9.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/1.616, allocations: 8.625 kB / 321.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/1.616, allocations: 12.84 kB / 321.8 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/1.617, allocations: 187.3 kB / 322 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.617, allocations: 12.36 kB / 322 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/1.617, allocations: 4.375 kB / 322 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/1.617, allocations: 134.1 kB / 322.1 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.617, allocations: 1.938 kB / 322.1 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.617, allocations: 8 kB / 322.1 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.617, allocations: 0 / 322.1 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/1.617, allocations: 32.42 kB / 322.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/1.617, allocations: 312.6 kB / 322.5 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/1.618, allocations: 155.8 kB / 322.6 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/1.618, allocations: 43 kB / 322.7 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/1.618, allocations: 4.625 kB / 322.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/1.618, allocations: 69.23 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/1.618, allocations: 0 / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002941/1.618, allocations: 123.3 kB / 322.9 MB, free: 8.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.618, allocations: 77.89 kB / 322.9 MB, free: 8.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/1.618, allocations: 113.8 kB / 323 MB, free: 8.074 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/1.618, allocations: 26.73 kB / 323.1 MB, free: 8.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/1.619, allocations: 92.12 kB / 323.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/1.619, allocations: 20.47 kB / 323.2 MB, free: 7.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.619, allocations: 4 kB / 323.2 MB, free: 7.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/1.619, allocations: 320.6 kB / 323.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/1.619, allocations: 27.98 kB / 323.5 MB, free: 7.578 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/1.619, allocations: 63.05 kB / 323.6 MB, free: 7.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/1.619, allocations: 85.02 kB / 323.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.619, allocations: 0 / 323.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001945/1.619, allocations: 123.5 kB / 323.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.619, allocations: 5.344 kB / 323.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.619, allocations: 320 / 323.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/1.619, allocations: 4 kB / 323.8 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/1.619, allocations: 19.98 kB / 323.8 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.619, allocations: 10.02 kB / 323.8 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/1.619, allocations: 8.375 kB / 323.8 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/1.619, allocations: 7.938 kB / 323.8 MB, free: 7.227 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.709e-05/1.619, allocations: 123.2 kB / 324 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/1.62, allocations: 49.59 kB / 324 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/1.62, allocations: 19.84 kB / 324 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.62, allocations: 7.938 kB / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.62, allocations: 0.6875 kB / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.62, allocations: 4.141 kB / 324 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/1.62, allocations: 334.6 kB / 324.4 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.62, allocations: 0 / 324.4 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/1.62, allocations: 19.92 kB / 324.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/1.62, allocations: 0 / 324.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.62, allocations: 4 kB / 324.4 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.62, allocations: 3.938 kB / 324.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.62, allocations: 4 kB / 324.4 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/1.62, allocations: 200.2 kB / 324.6 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/1.62, allocations: 81.02 kB / 324.7 MB, free: 6.281 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.62, allocations: 8 kB / 324.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/1.62, allocations: 7.938 kB / 324.7 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/1.62, allocations: 7.984 kB / 324.7 MB, free: 6.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.62, allocations: 4 kB / 324.7 MB, free: 6.254 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/1.621, allocations: 91.27 kB / 324.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.621, allocations: 0 / 324.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002172/1.621, allocations: 15.94 kB / 324.8 MB, free: 6.148 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.557e-05/1.621, allocations: 107.5 kB / 324.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/1.621, allocations: 76.03 kB / 325 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/1.621, allocations: 0 / 325 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/1.621, allocations: 27.97 kB / 325 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/1.621, allocations: 16.38 kB / 325 MB, free: 5.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/1.622, allocations: 210.2 kB / 325.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/1.622, allocations: 0.6887 MB / 325.9 MB, free: 4.965 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.044e-05/1.622, allocations: 7.938 kB / 325.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/1.622, allocations: 15.44 kB / 325.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of SimCode: time 3e-07/1.622, allocations: 0 / 325.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of Templates: time 0.002485/1.625, allocations: 0.594 MB / 326.5 MB, free: 4.352 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)