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.001338/0.001339, allocations: 177.4 kB / 15.82 MB, free: 6.305 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.63/1.63, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001013/0.001013, allocations: 98.23 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07927/0.07928, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005316, allocations: 19.98 kB / 392.1 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09013, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.001987/0.09218, allocations: 1.561 MB / 444.1 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.09339, allocations: 0.9604 MB / 445 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.0935, allocations: 3.938 kB / 445 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.09378, allocations: 67.78 kB / 445.1 MB, free: 8.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.09397, allocations: 79.72 kB / 445.2 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.0945, allocations: 199.3 kB / 445.4 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.09467, allocations: 151.6 kB / 445.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.09481, allocations: 33.53 kB / 445.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.0949, allocations: 71.62 kB / 445.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.095, allocations: 67.73 kB / 445.7 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.09503, allocations: 11.88 kB / 445.7 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.09514, allocations: 51.91 kB / 445.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.09521, allocations: 43.83 kB / 445.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.09526, allocations: 53.58 kB / 445.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.09544, allocations: 176.5 kB / 446 MB, free: 7.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.09545, allocations: 4 kB / 446 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.09546, allocations: 0 / 446 MB, free: 7.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.09548, allocations: 4 kB / 446 MB, free: 7.297 MB / 282.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.0006039/0.09609, allocations: 0.4962 MB / 446.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.09613, allocations: 8.031 kB / 446.5 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.09618, allocations: 42.56 kB / 446.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.09623, allocations: 19.72 kB / 446.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.0965, allocations: 281.5 kB / 446.9 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.09653, allocations: 8 kB / 446.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.09655, allocations: 8 kB / 446.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.09687, allocations: 174.7 kB / 447 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.09689, allocations: 3.953 kB / 447 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.09691, allocations: 4 kB / 447 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.09692, allocations: 8 kB / 447.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.09705, allocations: 51.91 kB / 447.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.09756, allocations: 405.4 kB / 447.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.0978, allocations: 129.3 kB / 447.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.0979, allocations: 45.7 kB / 447.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.09793, allocations: 4 kB / 447.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.09816, allocations: 91.3 kB / 447.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.09817, allocations: 4 kB / 447.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.000368/0.09854, allocations: 181.5 kB / 447.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.09861, allocations: 140.4 kB / 448.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.09887, allocations: 321.4 kB / 448.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.0989, allocations: 29.7 kB / 448.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.09897, allocations: 132 kB / 448.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.09901, allocations: 35.62 kB / 448.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-06/0.09902, allocations: 7.938 kB / 448.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.09911, allocations: 334.8 kB / 448.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.09919, allocations: 39.92 kB / 449 MB, free: 4.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.09931, allocations: 112.6 kB / 449.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.371e-05/0.09941, allocations: 51.92 kB / 449.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.09942, allocations: 0 / 449.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002361/0.09966, allocations: 165.2 kB / 449.3 MB, free: 3.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.09968, allocations: 4 kB / 449.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09969, allocations: 160 / 449.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.09972, allocations: 8 kB / 449.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.09983, allocations: 31.86 kB / 449.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.09985, allocations: 4 kB / 449.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.09993, allocations: 4 kB / 449.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.09995, allocations: 12 kB / 449.4 MB, free: 3.641 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.1001, allocations: 167.7 kB / 449.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.1001, allocations: 61.42 kB / 449.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.1002, allocations: 29.7 kB / 449.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1002, allocations: 4 kB / 449.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1002, allocations: 0 / 449.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1002, allocations: 7.984 kB / 449.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1007, allocations: 462.4 kB / 450.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1007, allocations: 8 kB / 450.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.1008, allocations: 11.94 kB / 450.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1008, allocations: 3.984 kB / 450.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1008, allocations: 8 kB / 450.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1008, allocations: 3.984 kB / 450.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1008, allocations: 4 kB / 450.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1011, allocations: 256.2 kB / 450.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1012, allocations: 100.8 kB / 450.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1012, allocations: 7.938 kB / 450.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.1013, allocations: 7.984 kB / 450.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.1014, allocations: 11.98 kB / 450.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.1014, allocations: 12 kB / 450.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1016, allocations: 236.5 kB / 450.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 3.938 kB / 450.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.1019, allocations: 43.94 kB / 450.8 MB, free: 2.105 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.1031, allocations: 1.157 MB / 451.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1034, allocations: 99.89 kB / 452 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1034, allocations: 0 / 452 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1035, allocations: 47.86 kB / 452.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1039, allocations: 56.19 kB / 452.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.1057, allocations: 1.283 MB / 453.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1061, allocations: 0.7556 MB / 454.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.1062, allocations: 25.55 kB / 454.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1063, allocations: 75.34 kB / 454.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1063, allocations: 0 / 454.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.123, allocations: 4.92 MB / 459.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.1233, allocations: 260.4 kB / 459.4 MB, free: 9.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/1.897, allocations: 0 / 459.4 MB, free: 9.23 MB / 298.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)