Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.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.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 94.25 kB / 16.05 MB, free: 5.715 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.08528/0.08528, allocations: 12.63 MB / 29.41 MB, free: 6.094 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002077/0.0002078, allocations: 4 kB / 40.27 MB, free: 0.6211 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006398/0.006624, allocations: 2.835 MB / 43.11 MB, free: 6.062 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.TestClockedIntegerToTrigger): time 1.568/1.575, allocations: 277.8 MB / 321 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/1.577, allocations: 1.415 MB / 322.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/1.577, allocations: 3.938 kB / 322.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/1.577, allocations: 63.78 kB / 322.4 MB, free: 8.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/1.577, allocations: 80.95 kB / 322.5 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/1.578, allocations: 229.1 kB / 322.7 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/1.578, allocations: 168.2 kB / 322.9 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/1.578, allocations: 83.14 kB / 323 MB, free: 8.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/1.579, allocations: 71.56 kB / 323.1 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/1.579, allocations: 79.67 kB / 323.1 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/1.579, allocations: 4 kB / 323.1 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/1.579, allocations: 47.98 kB / 323.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/1.579, allocations: 54.3 kB / 323.2 MB, free: 8.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/1.579, allocations: 101.2 kB / 323.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/1.579, allocations: 223.2 kB / 323.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.579, allocations: 0 / 323.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/1.579, allocations: 0 / 323.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/1.579, allocations: 0 / 323.6 MB, free: 7.691 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006906/1.58, allocations: 0.5014 MB / 324.1 MB, free: 7.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.58, allocations: 12.03 kB / 324.1 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/1.58, allocations: 24.66 kB / 324.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/1.58, allocations: 281.2 kB / 324.4 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.58, allocations: 8.375 kB / 324.4 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/1.58, allocations: 12.12 kB / 324.4 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/1.581, allocations: 171 kB / 324.6 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.581, allocations: 0 / 324.6 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/1.581, allocations: 8 kB / 324.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.581, allocations: 0 / 324.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.581, allocations: 47.91 kB / 324.6 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/1.582, allocations: 408.9 kB / 325 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/1.582, allocations: 126.4 kB / 325.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/1.582, allocations: 51.14 kB / 325.2 MB, free: 5.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.582, allocations: 7.984 kB / 325.2 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/1.582, allocations: 89.36 kB / 325.3 MB, free: 5.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/1.582, allocations: 0 / 325.3 MB, free: 5.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003972/1.583, allocations: 186.2 kB / 325.5 MB, free: 5.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/1.583, allocations: 137.2 kB / 325.6 MB, free: 5.422 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/1.583, allocations: 330.8 kB / 325.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.583, allocations: 25.7 kB / 325.9 MB, free: 5.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/1.583, allocations: 132.1 kB / 326.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/1.583, allocations: 23.7 kB / 326.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/1.583, allocations: 8 kB / 326.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/1.583, allocations: 332.6 kB / 326.4 MB, free: 4.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/1.583, allocations: 35.98 kB / 326.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.584, allocations: 124.4 kB / 326.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/1.584, allocations: 113.7 kB / 326.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.584, allocations: 0 / 326.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002695/1.584, allocations: 167.4 kB / 326.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.584, allocations: 11.94 kB / 326.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.584, allocations: 0 / 326.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.584, allocations: 6.031 kB / 326.9 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.584, allocations: 19.98 kB / 326.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.584, allocations: 7.938 kB / 326.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/1.584, allocations: 19.95 kB / 326.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.584, allocations: 12 kB / 326.9 MB, free: 4.008 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: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,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 (19): * Single equations (assignments): 19 * 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.0001344/1.585, allocations: 160.7 kB / 327.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/1.585, allocations: 64.16 kB / 327.2 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/1.585, allocations: 25.7 kB / 327.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.585, allocations: 4 kB / 327.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.585, allocations: 7.875 kB / 327.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.585, allocations: 0 / 327.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/1.585, allocations: 467.7 kB / 327.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.585, allocations: 0 / 327.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/1.585, allocations: 15.98 kB / 327.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.585, allocations: 4.656 kB / 327.7 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.585, allocations: 4 kB / 327.7 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.585, allocations: 4.156 kB / 327.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.585, allocations: 4 kB / 327.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/1.586, allocations: 256.3 kB / 327.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/1.586, allocations: 101.1 kB / 328 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.586, allocations: 15.88 kB / 328 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/1.586, allocations: 8 kB / 328.1 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/1.586, allocations: 11.97 kB / 328.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/1.586, allocations: 11.98 kB / 328.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001975/1.586, allocations: 240.4 kB / 328.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.586, allocations: 0 / 328.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002727/1.586, allocations: 43.89 kB / 328.4 MB, free: 2.488 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.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008963/1.587, allocations: 480.6 kB / 328.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002425/1.588, allocations: 100 kB / 328.9 MB, free: 2.051 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.588, allocations: 8.125 kB / 328.9 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/1.588, allocations: 43.91 kB / 329 MB, free: 2 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/1.588, allocations: 52.44 kB / 329 MB, free: 1.945 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/1.589, allocations: 435.6 kB / 329.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/1.589, allocations: 0.744 MB / 330.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.397e-05/1.589, allocations: 29.53 kB / 330.2 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/1.589, allocations: 19.44 kB / 330.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/1.589, allocations: 0 / 330.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of Templates: time 0.005882/1.595, allocations: 2.776 MB / 333 MB, free: 13.93 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)