Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedIntegerToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedIntegerToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.8 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205 MB / 221.9 MB, free: 9.164 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008312/0.0008314, allocations: 89.19 kB / 269.9 MB, free: 8.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09069/0.0907, allocations: 12.56 MB / 330.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 8.375 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.0958, allocations: 49.98 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.002138/0.09798, allocations: 1.606 MB / 442.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.09974, allocations: 1.022 MB / 443.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.09993, allocations: 3.938 kB / 443.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1003, allocations: 71.78 kB / 443.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1006, allocations: 83.77 kB / 443.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1012, allocations: 195.7 kB / 444.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1015, allocations: 171.5 kB / 444.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1016, allocations: 37.55 kB / 444.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1017, allocations: 67.64 kB / 444.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1018, allocations: 83.61 kB / 444.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1019, allocations: 4 kB / 444.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.102, allocations: 55.95 kB / 444.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.1021, allocations: 47.83 kB / 444.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1022, allocations: 71.42 kB / 444.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.1025, allocations: 231.5 kB / 444.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1025, allocations: 4 kB / 444.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1025, allocations: 0 / 444.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1025, allocations: 0 / 444.9 MB, free: 12.55 MB / 298.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.0006777/0.1032, allocations: 0.4962 MB / 445.4 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1033, allocations: 12.03 kB / 445.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.1033, allocations: 38.75 kB / 445.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.1034, allocations: 20.66 kB / 445.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1037, allocations: 286.7 kB / 445.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1038, allocations: 4.375 kB / 445.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1038, allocations: 15.94 kB / 445.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1041, allocations: 182.6 kB / 445.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1042, allocations: 0 / 445.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1042, allocations: 4 kB / 445.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1042, allocations: 4 kB / 445.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1043, allocations: 47.91 kB / 446 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1049, allocations: 409.5 kB / 446.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1051, allocations: 133.3 kB / 446.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.1052, allocations: 45.7 kB / 446.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1053, allocations: 3.938 kB / 446.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1055, allocations: 99.3 kB / 446.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.1055, allocations: 0 / 446.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003838/0.1059, allocations: 181.2 kB / 446.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.106, allocations: 144.4 kB / 447 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1062, allocations: 317 kB / 447.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1062, allocations: 33.7 kB / 447.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.1063, allocations: 136 kB / 447.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1064, allocations: 31.64 kB / 447.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1064, allocations: 21.7 kB / 447.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.1065, allocations: 342.8 kB / 447.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.1065, allocations: 35.98 kB / 447.9 MB, free: 9.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1067, allocations: 108.6 kB / 448 MB, free: 9.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1068, allocations: 121.9 kB / 448.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.1068, allocations: 0 / 448.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002624/0.1071, allocations: 177.2 kB / 448.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1071, allocations: 4 kB / 448.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1071, allocations: 4 kB / 448.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1072, allocations: 0 / 448.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1073, allocations: 27.92 kB / 448.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1073, allocations: 3.938 kB / 448.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.1074, allocations: 12 kB / 448.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1074, allocations: 7.984 kB / 448.3 MB, free: 8.75 MB / 298.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 (triggeredBooleanSampler.y,$PRE.triggeredBooleanSampler.y,$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,ClockedSignalToTrigger.y3,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y,$whenCondition1,$CLKPRE.ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y2,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.000122/0.1075, allocations: 169.2 kB / 448.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.1076, allocations: 69.39 kB / 448.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1077, allocations: 29.7 kB / 448.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1077, allocations: 4 kB / 448.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1077, allocations: 3.938 kB / 448.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1077, allocations: 0 / 448.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1081, allocations: 470.6 kB / 449 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1082, allocations: 4 kB / 449 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.1082, allocations: 11.98 kB / 449.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1082, allocations: 7.938 kB / 449.1 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1083, allocations: 0 / 449.1 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1083, allocations: 4 kB / 449.1 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1083, allocations: 0 / 449.1 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1085, allocations: 248.1 kB / 449.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1086, allocations: 108.8 kB / 449.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1086, allocations: 4 kB / 449.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.1087, allocations: 12.11 kB / 449.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.1088, allocations: 7.984 kB / 449.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1088, allocations: 8 kB / 449.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.109, allocations: 240.4 kB / 449.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.109, allocations: 0 / 449.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.1093, allocations: 48.06 kB / 449.7 MB, free: 7.223 MB / 298.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.001252/0.1105, allocations: 1.154 MB / 450.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1107, allocations: 107.8 kB / 451 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1108, allocations: 320 / 451 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1108, allocations: 47.97 kB / 451 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1113, allocations: 64.61 kB / 451.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1135, allocations: 2.485 MB / 453.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.1137, allocations: 0.7439 MB / 454.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.187e-05/0.1138, allocations: 29.52 kB / 454.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.1139, allocations: 63.42 kB / 454.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1139, allocations: 4 kB / 454.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1307, allocations: 5.008 MB / 459.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.131, allocations: 271.4 kB / 459.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.963, allocations: 0 / 459.7 MB, free: 12.96 MB / 314.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedIntegerToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedIntegerToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)