Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.0009511, allocations: 89.59 kB / 16.04 MB, free: 5.746 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.09026/0.09026, allocations: 12.63 MB / 29.41 MB, free: 6.078 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.00022/0.0002201, allocations: 4 kB / 40.28 MB, free: 0.6133 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007167/0.007409, allocations: 2.831 MB / 43.11 MB, free: 6.059 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.TestClockedBooleanToTrigger): time 1.799/1.806, allocations: 277.5 MB / 320.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007657/1.807, allocations: 424.4 kB / 321.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/1.807, allocations: 0.5625 kB / 321.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/1.807, allocations: 3.938 kB / 321.1 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/1.807, allocations: 16.62 kB / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/1.808, allocations: 32.84 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/1.808, allocations: 63.78 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/1.808, allocations: 41.12 kB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/1.808, allocations: 23.86 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/1.808, allocations: 23.84 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/1.808, allocations: 4 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/1.808, allocations: 4 kB / 321.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/1.808, allocations: 5.719 kB / 321.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/1.808, allocations: 57.5 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/1.808, allocations: 51.78 kB / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.808, allocations: 0 / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.809, allocations: 0 / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/1.809, allocations: 2.906 kB / 321.4 MB, free: 9.965 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005462/1.809, allocations: 367.4 kB / 321.7 MB, free: 9.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.809, allocations: 8.031 kB / 321.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/1.809, allocations: 8.844 kB / 321.8 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/1.809, allocations: 192.6 kB / 321.9 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/1.809, allocations: 6.75 kB / 321.9 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/1.809, allocations: 8.375 kB / 322 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/1.81, allocations: 138.8 kB / 322.1 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.81, allocations: 0 / 322.1 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.81, allocations: 8 kB / 322.1 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.81, allocations: 0 / 322.1 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/1.81, allocations: 20.83 kB / 322.1 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/1.81, allocations: 307.3 kB / 322.4 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/1.81, allocations: 159.8 kB / 322.6 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/1.811, allocations: 42.38 kB / 322.6 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/1.811, allocations: 1.031 kB / 322.6 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/1.811, allocations: 78.52 kB / 322.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/1.811, allocations: 0 / 322.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002657/1.811, allocations: 109.5 kB / 322.8 MB, free: 8.336 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/1.811, allocations: 85.09 kB / 322.9 MB, free: 8.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/1.811, allocations: 117.8 kB / 323 MB, free: 8.109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.811, allocations: 27.45 kB / 323 MB, free: 8.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/1.811, allocations: 96.22 kB / 323.1 MB, free: 7.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.811, allocations: 19.8 kB / 323.1 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/1.811, allocations: 4 kB / 323.1 MB, free: 7.957 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/1.811, allocations: 323.5 kB / 323.5 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/1.811, allocations: 16.81 kB / 323.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/1.812, allocations: 73.05 kB / 323.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/1.812, allocations: 91.25 kB / 323.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.812, allocations: 1 kB / 323.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001762/1.812, allocations: 118.1 kB / 323.8 MB, free: 7.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.812, allocations: 4.688 kB / 323.8 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.812, allocations: 0 / 323.8 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.812, allocations: 6.562 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/1.812, allocations: 7.984 kB / 323.8 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.812, allocations: 7.938 kB / 323.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/1.812, allocations: 12 kB / 323.8 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/1.812, allocations: 4 kB / 323.8 MB, free: 7.258 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001006/1.812, allocations: 135.4 kB / 323.9 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/1.812, allocations: 57.53 kB / 324 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/1.812, allocations: 12.38 kB / 324 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.812, allocations: 3.984 kB / 324 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.812, allocations: 3.094 kB / 324 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.812, allocations: 0 / 324 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/1.813, allocations: 334.5 kB / 324.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.813, allocations: 288 / 324.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/1.813, allocations: 12.3 kB / 324.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.813, allocations: 4 kB / 324.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/1.813, allocations: 0 / 324.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.813, allocations: 0.875 kB / 324.3 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.813, allocations: 7.875 kB / 324.4 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/1.813, allocations: 210.9 kB / 324.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/1.813, allocations: 81.02 kB / 324.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/1.813, allocations: 4 kB / 324.6 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/1.813, allocations: 16.77 kB / 324.7 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/1.813, allocations: 12.08 kB / 324.7 MB, free: 6.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/1.813, allocations: 8 kB / 324.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.658e-05/1.813, allocations: 91.22 kB / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.813, allocations: 0 / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002287/1.813, allocations: 16 kB / 324.8 MB, free: 6.168 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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001108/1.814, allocations: 112 kB / 324.9 MB, free: 6.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/1.814, allocations: 63.91 kB / 325 MB, free: 5.992 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.814, allocations: 320 / 325 MB, free: 5.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/1.814, allocations: 31.92 kB / 325 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/1.814, allocations: 28.02 kB / 325 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/1.815, allocations: 197.9 kB / 325.2 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/1.815, allocations: 0.7004 MB / 325.9 MB, free: 4.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.039e-05/1.815, allocations: 4.438 kB / 325.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/1.815, allocations: 15.42 kB / 325.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/1.815, allocations: 0 / 325.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of Templates: time 0.003082/1.818, allocations: 0.8078 MB / 326.7 MB, free: 4.164 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)